From: Amaury Forgeot d'Arc Date: Mon, 24 Mar 2008 21:04:10 +0000 (+0000) Subject: Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds. X-Git-Tag: v2.6a2~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fac02faed86989b46dd7271c172582d50b64c09c;p=python Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds. All buildbots compile with UCS2... --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 4df9fd8f06..68df57d8b8 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -3095,7 +3095,7 @@ PyObject *PyUnicode_DecodeRawUnicodeEscape(const char *s, /* UCS-4 character. Either store directly, or as surrogate pair. */ #ifdef Py_UNICODE_WIDE - *p++ = (Py_UNIC0DE) x; + *p++ = (Py_UNICODE) x; #else x -= 0x10000L; *p++ = 0xD800 + (Py_UNICODE) (x >> 10);