Alexandre Julliard : kernelbase: Fix typo in null pointer check.
Alexandre Julliard
julliard at winehq.org
Wed Jun 1 15:44:31 CDT 2022
Module: wine
Branch: master
Commit: 9990dc11df7212c81d39d06a2d188623d4a048dc
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9990dc11df7212c81d39d06a2d188623d4a048dc
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Jun 1 10:26:36 2022 +0200
kernelbase: Fix typo in null pointer check.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53080
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernelbase/locale.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernelbase/locale.c b/dlls/kernelbase/locale.c
index 6ec80596355..02532a7e10b 100644
--- a/dlls/kernelbase/locale.c
+++ b/dlls/kernelbase/locale.c
@@ -3884,7 +3884,7 @@ static int find_substring( const struct sortguid *sortid, DWORD flags, const WCH
if (found != -1)
{
if ((flags & FIND_ENDSWITH) && found + foundlen != srclen) found = -1;
- else if (*reslen) *reslen = foundlen;
+ else if (reslen) *reslen = foundlen;
}
free_sortkey_state( &s );
free_sortkey_state( &val );
More information about the wine-cvs
mailing list