From 11ec0a58ac10adf72eb599869475d1031c61070b Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 7 Aug 2000 02:33:50 +0000 Subject: [PATCH] Fixed CharNextW. --- dlls/user/lstr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/user/lstr.c b/dlls/user/lstr.c index 3da549b3a3a..614c69c8d63 100644 --- a/dlls/user/lstr.c +++ b/dlls/user/lstr.c @@ -170,7 +170,8 @@ LPWSTR WINAPI CharNextExW( WORD codepage, LPCWSTR ptr, DWORD flags ) LPWSTR WINAPI CharNextW(LPCWSTR x) { if (*x) x++; - else return (LPWSTR)x; + + return (LPWSTR)x; }