[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690



The following commit has been merged in the wheezy branch:
commit fd2d65305984f8e39757ecf9f1fe622e6c8b5c23
Author: Akihiro Sagawa <sagawa.aki@gmail.com>
Date:   Wed Mar 21 23:02:16 2012 +0900

    msvcrt: Fix _mbcjistojms off by one error.
    (cherry picked from commit 7535b367dd4f5ae1b22fcb068eaaf4e2b428b98f)

diff --git a/dlls/msvcrt/mbcs.c b/dlls/msvcrt/mbcs.c
index c61311b..37b72a3 100644
--- a/dlls/msvcrt/mbcs.c
+++ b/dlls/msvcrt/mbcs.c
@@ -461,7 +461,7 @@ unsigned int CDECL _mbcjistojms(unsigned int c)
       else
         c += 0x7d;
 
-      if(LOBYTE(c) > 0x7F)
+      if(LOBYTE(c) >= 0x7F)
         c += 0x1;
 
       c = (((HIBYTE(c) - 0x21)/2 + 0x81) << 8) | LOBYTE(c);

-- 
Debian Wine packaging



Reply to: