- Fix broken 0-padding, spotted by Russel.

See issue #3385 for more details.

svn path=/trunk/; revision=34076
This commit is contained in:
Aleksey Bragin 2008-06-25 09:07:41 +00:00
parent b5cddb8ef5
commit 7a18c92616

View file

@ -199,7 +199,7 @@ GetLayoutIDByHkl(HKL hKl, LPTSTR szLayoutID)
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