Index: unicodeobject.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v retrieving revision 2.228 diff -c -r2.228 unicodeobject.c *** unicodeobject.c 16 Sep 2004 03:28:13 -0000 2.228 --- unicodeobject.c 14 Oct 2004 19:17:24 -0000 *************** *** 368,374 **** register Py_UNICODE *u; register int i; u = PyUnicode_AS_UNICODE(unicode); ! for (i = size; i >= 0; i--) *u++ = *w++; } #endif --- 368,374 ---- register Py_UNICODE *u; register int i; u = PyUnicode_AS_UNICODE(unicode); ! for (i = size; i > 0; i--) *u++ = *w++; } #endif *************** *** 393,399 **** register Py_UNICODE *u; register int i; u = PyUnicode_AS_UNICODE(unicode); ! for (i = size; i >= 0; i--) *w++ = *u++; } #endif --- 393,399 ---- register Py_UNICODE *u; register int i; u = PyUnicode_AS_UNICODE(unicode); ! for (i = size; i > 0; i--) *w++ = *u++; } #endif