Author: dgorbachev
Date: Tue Dec 9 10:13:51 2008
New Revision: 37970
URL: http://svn.reactos.org/svn/reactos?rev=37970&view=rev
Log:
Fix IntIsValidSBCSMapping(). Bug #3903.
Modified:
trunk/reactos/dll/win32/kernel32/misc/nls.c
Modified: trunk/reactos/dll/win32/kernel32/misc/nls.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/nl…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/nls.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/misc/nls.c [iso-8859-1] Tue Dec 9 10:13:51 2008
@@ -740,7 +740,7 @@
{
/* If the WC_NO_BEST_FIT_CHARS flag has been specified, the characters need to match exactly. */
if (Flags & WC_NO_BEST_FIT_CHARS)
- return (CodePageTable->MultiByteTable[ch] != wch);
+ return (CodePageTable->MultiByteTable[ch] == wch);
/* By default, all characters except TransDefaultChar apply as a valid mapping
for ch (so also "nearest" characters) */
Author: tkreuzer
Date: Tue Dec 9 09:45:54 2008
New Revision: 37967
URL: http://svn.reactos.org/svn/reactos?rev=37967&view=rev
Log:
fix ULONG/ULONG_PTR isuue
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/bug.c [iso-8859-1] Tue Dec 9 09:45:54 2008
@@ -1065,7 +1065,7 @@
/* Check if we need to save the context for KD */
#ifdef _WINKD_
- if (!KdPitchDebugger) KdDebuggerDataBlock.SavedContext = (ULONG)&Context;
+ if (!KdPitchDebugger) KdDebuggerDataBlock.SavedContext = (ULONG_PTR)&Context;
#endif
/* Check if a debugger is connected */