Author: mkupfer
Date: Sun Jul 20 14:08:35 2008
New Revision: 34610
URL:
http://svn.reactos.org/svn/reactos?rev=34610&view=rev
Log:
mark the current keyboard layout as checked (in popup menu)
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] Sun Jul 20 14:08:35
2008
@@ -323,6 +323,8 @@
AppendMenu(hMenu, MF_STRING, _ttoi(szLayoutNum), szName);
}
+ (void)CheckMenuItem(hMenu, ulCurrentLayoutNum, MF_CHECKED);
+
RegCloseKey(hKey);
}