Conditionally compile code which uses XK_EuroSign definition.
This commit is contained in:
parent
eabafe779c
commit
062080d633
|
@ -2123,6 +2123,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
|
||||||
{
|
{
|
||||||
BYTE dead_char;
|
BYTE dead_char;
|
||||||
|
|
||||||
|
#ifdef XK_EuroSign
|
||||||
/* An ugly hack for EuroSign: X can't translate it to a character
|
/* An ugly hack for EuroSign: X can't translate it to a character
|
||||||
for some locales. */
|
for some locales. */
|
||||||
if (keysym == XK_EuroSign)
|
if (keysym == XK_EuroSign)
|
||||||
|
@ -2131,7 +2132,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
|
||||||
ret = 1;
|
ret = 1;
|
||||||
goto found;
|
goto found;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
dead_char = KEYBOARD_MapDeadKeysym(keysym);
|
dead_char = KEYBOARD_MapDeadKeysym(keysym);
|
||||||
if (dead_char)
|
if (dead_char)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue