[Python-checkins] python/dist/src/Modules unicodedata.c, 2.32, 2.32.2.1

loewis@users.sourceforge.net loewis at users.sourceforge.net
Sun Sep 18 10:18:54 CEST 2005


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15221/Modules

Modified Files:
      Tag: release24-maint
	unicodedata.c 
Log Message:
Patch #1213831: Fix typo in unicodedata._getcode.


Index: unicodedata.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/unicodedata.c,v
retrieving revision 2.32
retrieving revision 2.32.2.1
diff -u -d -r2.32 -r2.32.2.1
--- unicodedata.c	4 Aug 2004 07:38:34 -0000	2.32
+++ unicodedata.c	18 Sep 2005 08:18:51 -0000	2.32.2.1
@@ -753,7 +753,7 @@
 	pos += len;
 	find_syllable(pos, &len, &T, TCount, 2);
 	pos += len;
-	if (V != -1 && V != -1 && T != -1 && pos-name == namelen) {
+	if (L != -1 && V != -1 && T != -1 && pos-name == namelen) {
 	    *code = SBase + (L*VCount+V)*TCount + T;
 	    return 1;
 	}



More information about the Python-checkins mailing list