Commit 062080d6 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Conditionally compile code which uses XK_EuroSign definition.

parent eabafe77
......@@ -2123,6 +2123,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
{
BYTE dead_char;
#ifdef XK_EuroSign
/* An ugly hack for EuroSign: X can't translate it to a character
for some locales. */
if (keysym == XK_EuroSign)
......@@ -2131,7 +2132,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
ret = 1;
goto found;
}
#endif
dead_char = KEYBOARD_MapDeadKeysym(keysym);
if (dead_char)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment