From: Gé van Geldorp Date: Thu, 8 Dec 2005 21:32:21 +0000 (+0000) Subject: Strings with different lengths are not equal X-Git-Tag: backups/expat-rbuild@40467~1093 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f6c92b0c0ee2982fe4c301293988b261c2622dfb Strings with different lengths are not equal svn path=/trunk/; revision=19976 --- diff --git a/reactos/lib/kernel32/misc/lang.c b/reactos/lib/kernel32/misc/lang.c index 3296642c7e5..4f70b275260 100644 --- a/reactos/lib/kernel32/misc/lang.c +++ b/reactos/lib/kernel32/misc/lang.c @@ -1,10 +1,9 @@ -/* $Id$ - * - * COPYRIGHT: See COPYING in the top level directory - * PROJECT : ReactOS user mode libraries - * MODULE : kernel32.dll - * FILE : reactos/lib/kernel32/misc/lang.c - * AUTHOR : ??? +/* + * PROJECT: ReactOS user mode libraries + * LICENSE: GPL - See COPYING in the top level directory + * FILE: reactos/lib/kernel32/misc/lang.c + * PURPOSE: + * PROGRAMMERS: ??? */ #include @@ -932,6 +931,7 @@ static int compare_unicode_string( return c1 - c2; } } + return (int) len1 - (int) len2; } return 0; }