Strings with different lengths are not equal
Modified: trunk/reactos/lib/kernel32/misc/lang.c
_____
Modified: trunk/reactos/lib/kernel32/misc/lang.c
--- trunk/reactos/lib/kernel32/misc/lang.c 2005-12-08 19:39:23 UTC
(rev 19975)
+++ trunk/reactos/lib/kernel32/misc/lang.c 2005-12-08 21:32:21 UTC
(rev 19976)
@@ -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 <k32.h>
@@ -932,6 +931,7 @@
return c1 - c2;
}
}
+ return (int) len1 - (int) len2;
}
return 0;
}