Michael Stefaniuc : ole32: Do not use wide character constants.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 22 07:35:40 CDT 2007
Module: wine
Branch: master
Commit: 717cccb5ce53e49e405e89862f9f84b35037243d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=717cccb5ce53e49e405e89862f9f84b35037243d
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Thu Jun 21 22:57:32 2007 +0200
ole32: Do not use wide character constants.
---
dlls/ole32/ole2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 3ae9f55..e58385b 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -2597,7 +2597,7 @@ BSTR WINAPI PropSysAllocString(LPCOLESTR str)
* string.
*/
stringBuffer = (WCHAR*)newBuffer;
- stringBuffer[len] = L'\0';
+ stringBuffer[len] = '\0';
return (LPWSTR)stringBuffer;
}
More information about the wine-cvs
mailing list