From c5836cb66c4f4e5dca755109748f84cf1c12d466 Mon Sep 17 00:00:00 2001
From: tatyana <tatyana@etersoft.ru>
Date: Tue, 15 Jan 2013 14:10:04 +0400
Subject: [eter-2.0.0 2/2] Revert "kernel32: Set NO_ERROR code(eterbug #8821)"

This reverts commit 2e963deed51ddb62737660a99b977b60ecff6969.
---
 dlls/kernel32/locale.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index eb567f9..3b2cbc0 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -2884,7 +2884,6 @@ INT WINAPI CompareStringA(LCID lcid, DWORD style,
             SetLastError(ERROR_NOT_ENOUGH_MEMORY);
             return 0;
         }
-        SetLastError(NO_ERROR);
         MultiByteToWideChar(locale_cp, 0, str1, len1, str1W, len1W);
     }
     len2W = MultiByteToWideChar(locale_cp, 0, str2, len2, buf2W, 130);
@@ -2900,7 +2899,6 @@ INT WINAPI CompareStringA(LCID lcid, DWORD style,
             SetLastError(ERROR_NOT_ENOUGH_MEMORY);
             return 0;
         }
-        SetLastError(NO_ERROR);
         MultiByteToWideChar(locale_cp, 0, str2, len2, str2W, len2W);
     }
 
-- 
1.8.0.3
