winex11.drv: Superfluous semicolons fix

Andrew Talbot andrew.talbot at talbotville.com
Mon Dec 22 14:22:14 CST 2008


Changelog:
    winex11.drv: Superfluous semicolons fix.

diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index fcde245..9c540d1 100644
--- a/dlls/winex11.drv/keyboard.c
+++ b/dlls/winex11.drv/keyboard.c
@@ -2126,7 +2126,7 @@ UINT X11DRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
 {
     Display *display = thread_init_display();
 
-#define returnMVK(value) { TRACE("returning 0x%x.\n",value); return value; }
+#define returnMVK(value) do { TRACE("returning 0x%x.\n",value); return value; } while(0)
 
     TRACE("wCode=0x%x, wMapType=%d, hkl %p\n", wCode, wMapType, hkl);
     if (!match_x11_keyboard_layout(hkl))



More information about the wine-patches mailing list