Andrew Talbot : winex11.drv: Superfluous semicolons fix.

Alexandre Julliard julliard at winehq.org
Tue Dec 23 13:40:44 CST 2008


Module: wine
Branch: master
Commit: 1b802bd5ac6672e2faa66e573a29037e3590c8c5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1b802bd5ac6672e2faa66e573a29037e3590c8c5

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Dec 22 20:22:14 2008 +0000

winex11.drv: Superfluous semicolons fix.

---

 dlls/winex11.drv/keyboard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list