[Python-checkins] cpython: Fix UNICODE glitch.
brian.curtin
python-checkins at python.org
Fri Jun 22 00:13:08 CEST 2012
http://hg.python.org/cpython/rev/e8796a9631ce
changeset: 77551:e8796a9631ce
user: Martin v. Löwis <martin at v.loewis.de>
date: Thu Jun 21 18:15:54 2012 +0200
summary:
Fix UNICODE glitch.
files:
PC/launcher.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/PC/launcher.c b/PC/launcher.c
--- a/PC/launcher.c
+++ b/PC/launcher.c
@@ -230,8 +230,8 @@
continue;
}
data_size = sizeof(ip->executable) - 1;
- status = RegQueryValueEx(ip_key, NULL, NULL, &type,
- (LPBYTE) ip->executable, &data_size);
+ status = RegQueryValueExW(ip_key, NULL, NULL, &type,
+ (LPBYTE)ip->executable, &data_size);
RegCloseKey(ip_key);
if (status != ERROR_SUCCESS) {
winerror(status, message, MSGSIZE);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list