Commits

Martin von Löwis committed 1cf1703

Patch #1213831: Fix typo in unicodedata._getcode.

Comments (0)

Files changed (2)

 Extension Modules
 -----------------
 
+- Patch #1213831: Fix typo in unicodedata._getcode.
+
 - Bug #1007046: os.startfile() did not accept unicode strings encoded in
   the file system encoding.
 

Modules/unicodedata.c

 	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;
 	}