commit | af21ebb4249ab09feaa03560cebc85226438b8c8 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Jun 21 18:15:54 2012 +0200 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Jun 21 18:15:54 2012 +0200 |
tree | 220ae00130db2200213af4480fd84d355cfe068d | |
parent | 91a3468f459ab429992bf4409a8794a758a0314f [diff] |
Fix UNICODE glitch.
diff --git a/PC/launcher.c b/PC/launcher.c index 516d235..60222c4 100644 --- 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);