Xming: Ensure we dont try to print a null value when displaying xkb configuration
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
parent
c612f0df45
commit
df3f701ef2
|
@ -267,9 +267,11 @@ winKeybdProc (DeviceIntPtr pDeviceInt, int iState)
|
|||
|
||||
winErrorFVerb(2, "Rules = \"%s\" Model = \"%s\" Layout = \"%s\""
|
||||
" Variant = \"%s\" Options = \"%s\"\n",
|
||||
g_winInfo.xkb.rules, g_winInfo.xkb.model,
|
||||
g_winInfo.xkb.layout, g_winInfo.xkb.variant,
|
||||
g_winInfo.xkb.options);
|
||||
g_winInfo.xkb.rules ? g_winInfo.xkb.rules : "none",
|
||||
g_winInfo.xkb.model ? g_winInfo.xkb.model : "none",
|
||||
g_winInfo.xkb.layout ? g_winInfo.xkb.layout : "none",
|
||||
g_winInfo.xkb.variant ? g_winInfo.xkb.variant : "none",
|
||||
g_winInfo.xkb.options ? g_winInfo.xkb.options : "none");
|
||||
|
||||
XkbSetRulesDflts (g_winInfo.xkb.rules, g_winInfo.xkb.model,
|
||||
g_winInfo.xkb.layout, g_winInfo.xkb.variant,
|
||||
|
|
Loading…
Reference in New Issue
Block a user