[svn:parrot] r47807 - branches/gsoc_nfg/src/string/encoding

darbelo at svn.parrot.org darbelo at svn.parrot.org
Thu Jun 24 13:16:52 UTC 2010


Author: darbelo
Date: Thu Jun 24 13:16:51 2010
New Revision: 47807
URL: https://trac.parrot.org/parrot/changeset/47807

Log:
Add missing '='.
Make a note to stop committing at 2:30 am.

Modified:
   branches/gsoc_nfg/src/string/encoding/nfg.c

Modified: branches/gsoc_nfg/src/string/encoding/nfg.c
==============================================================================
--- branches/gsoc_nfg/src/string/encoding/nfg.c	Thu Jun 24 12:16:47 2010	(r47806)
+++ branches/gsoc_nfg/src/string/encoding/nfg.c	Thu Jun 24 13:16:51 2010	(r47807)
@@ -517,7 +517,7 @@
     UChar32 *s   = (UChar32 *) i->str->strstart;
     size_t   pos = i->bytepos / sizeof (UChar32);
 
-    if (pos = 0 || !ISCOMBINING(c)) {
+    if (pos == 0 || !ISCOMBINING(c)) {
         s[pos++] = (UChar32) c;
         ++i->charpos;
         i->bytepos = pos * sizeof (UChar32);


More information about the parrot-commits mailing list