diff --git a/security/nss/lib/base/utf8.c b/security/nss/lib/base/utf8.c index 921867cd2ef..01ccde0cca9 100644 --- a/security/nss/lib/base/utf8.c +++ b/security/nss/lib/base/utf8.c @@ -32,7 +32,7 @@ */ #ifdef DEBUG -static const char CVS_ID[] = "@(#) $RCSfile: utf8.c,v $ $Revision: 1.3 $ $Date: 2000-05-12 18:43:28 $ $Name: $"; +static const char CVS_ID[] = "@(#) $RCSfile: utf8.c,v $ $Revision: 1.4 $ $Date: 2001-09-20 22:02:46 $ $Name: $"; #endif /* DEBUG */ /* @@ -699,7 +699,7 @@ nssUTF8_CopyIntoFixedBuffer } /* Too long. We have to trim the last character */ - for( bs; bs > 0; bs-- ) { + for( bs; bs != 0; bs-- ) { if( (buffer[bs-1] & 0xC0) != 0x80 ) { buffer[bs-1] = pad; break;