diff --git a/intl/unicharutil/src/nsHankakuToZenkaku.cpp b/intl/unicharutil/src/nsHankakuToZenkaku.cpp index 75c1cb454e65..9d1b59290ae8 100644 --- a/intl/unicharutil/src/nsHankakuToZenkaku.cpp +++ b/intl/unicharutil/src/nsHankakuToZenkaku.cpp @@ -104,7 +104,7 @@ void HankakuToZenkaku ( } // handle the last character - if(IS_HANKAKU(aSrc[i])) + if(IS_HANKAKU(*aSrc)) *aDest = gBasicMapping[(*aSrc) - 0xff60]; else *aDest = *aSrc;