Michael Stefaniuc : shlwapi: Do not use wide character constants.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jun 21 09:47:36 CDT 2007
Module: wine
Branch: master
Commit: 9acd67ec5b644d2dd64aaa6f378a2cc610f0c690
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9acd67ec5b644d2dd64aaa6f378a2cc610f0c690
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Jun 20 23:34:50 2007 +0200
shlwapi: Do not use wide character constants.
---
dlls/shlwapi/reg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shlwapi/reg.c b/dlls/shlwapi/reg.c
index bdfea24..1f52883 100644
--- a/dlls/shlwapi/reg.c
+++ b/dlls/shlwapi/reg.c
@@ -703,7 +703,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
/* process returned data via type into bool */
switch (type) {
case REG_SZ:
- data[9] = L'\0'; /* set end of string */
+ data[9] = '\0'; /* set end of string */
if (lstrcmpiW(data, wYES)==0 || lstrcmpiW(data, wTRUE)==0)
ret = TRUE;
else if (lstrcmpiW(data, wNO)==0 || lstrcmpiW(data, wFALSE)==0)
@@ -715,7 +715,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
break;
case REG_BINARY:
if (datalen == 1) {
- ret = (data[0] != L'\0');
+ ret = (data[0] != '\0');
break;
}
default:
More information about the wine-cvs
mailing list