mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-02 09:38:25 +02:00
fix typos found by takuma
This commit is contained in:
parent
389d640338
commit
4dc5c1f109
1 changed files with 3 additions and 3 deletions
|
|
@ -309,7 +309,7 @@ winConfigKeyboard (DeviceIntPtr pDevice)
|
|||
if (keyboardType > 0 && GetKeyboardLayoutName (layoutName))
|
||||
{
|
||||
WinKBLayoutPtr pLayout;
|
||||
bool bfound = false;
|
||||
Bool bfound = FALSE;
|
||||
|
||||
if (! layoutNum)
|
||||
layoutNum = strtoul (layoutName, (char **)NULL, 16);
|
||||
|
|
@ -340,7 +340,7 @@ winConfigKeyboard (DeviceIntPtr pDevice)
|
|||
if (pLayout->winkbtype > 0 && pLayout->winkbtype != keyboardType)
|
||||
continue;
|
||||
|
||||
bfound = true;
|
||||
bfound = TRUE;
|
||||
winMsg (X_PROBED,
|
||||
"Using preset keyboard for \"%s\" (%x), type \"%d\"\n",
|
||||
pLayout->layoutname, pLayout->winlayout, keyboardType);
|
||||
|
|
@ -363,7 +363,7 @@ winConfigKeyboard (DeviceIntPtr pDevice)
|
|||
|
||||
regpath = alloca(sizeof(regtempl) + KL_NAMELENGTH + 1);
|
||||
strcpy(regpath, regtempl);
|
||||
strcat(layoutName);
|
||||
strcat(regpath, layoutName);
|
||||
|
||||
if (!RegOpenKey(HKEY_LOCAL_MACHINE, regpath, ®key) &&
|
||||
!RegQueryValueEx(regkey, "Layout Text", 0, NULL, lname, &namesize))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue