kernel32: Fix function description of CompareStringA and lstrcmpA
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Jul 20 10:20:58 CDT 2011
---
dlls/kernel32/locale.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index a54ae37..56fd478 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -2843,7 +2843,7 @@ INT WINAPI CompareStringW(LCID lcid, DWORD style,
*
* RETURNS
* Success: CSTR_LESS_THAN, CSTR_EQUAL or CSTR_GREATER_THAN depending on whether
- * str2 is less than, equal to or greater than str1 respectively.
+ * str1 is less than, equal to or greater than str2 respectively.
* Failure: FALSE. Use GetLastError() to determine the cause.
*/
INT WINAPI CompareStringA(LCID lcid, DWORD style,
@@ -2914,7 +2914,7 @@ INT WINAPI CompareStringA(LCID lcid, DWORD style,
*
* RETURNS
* Success: A number less than, equal to or greater than 0 depending on whether
- * str2 is less than, equal to or greater than str1 respectively.
+ * str1 is less than, equal to or greater than str2 respectively.
* Failure: FALSE. Use GetLastError() to determine the cause.
*/
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
--
1.7.6
More information about the wine-patches
mailing list