Author: fireball
Date: Wed Jun 25 04:07:41 2008
New Revision: 34076
URL:
http://svn.reactos.org/svn/reactos?rev=34076&view=rev
Log:
- Fix broken 0-padding, spotted by Russel.
See issue #3385 for more details.
Modified:
trunk/reactos/base/applications/kbswitch/kbswitch.c
Modified: trunk/reactos/base/applications/kbswitch/kbswitch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch…
==============================================================================
--- trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/kbswitch/kbswitch.c [iso-8859-1] Wed Jun 25 04:07:41
2008
@@ -199,7 +199,7 @@
FIXME!!! This way of getting layout ID incorrect!
This will not work correctly for 0001040a, 00010410, etc
*/
- wsprintf(szLayoutID, _T("00000%x"), LOWORD(hKl));
+ wsprintf(szLayoutID, _T("%08x"), LOWORD(hKl));
}
static BOOL