[PATCH] added missing shift by 8
Marcus Meissner
marcus at jet.franken.de
Sat Nov 18 04:07:32 CST 2006
---
dlls/kernel32/locale.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
bde5351f11d7ac74611246e48eae4beaf03c0dc7
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index e1dc46b..3eb8cf9 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -1588,7 +1588,7 @@ BOOL WINAPI GetCPInfo( UINT codepage, LP
}
if (table->info.def_char & 0xff00)
{
- cpinfo->DefaultChar[0] = table->info.def_char & 0xff00;
+ cpinfo->DefaultChar[0] = (table->info.def_char & 0xff00) >> 8;
cpinfo->DefaultChar[1] = table->info.def_char & 0x00ff;
}
else
--
1.2.4
More information about the wine-patches
mailing list