Alexandre Julliard : user32: Print the RegisterHotKey fixme only once.
Alexandre Julliard
julliard at winehq.org
Thu Dec 13 08:23:15 CST 2007
Module: wine
Branch: master
Commit: e533e50d59cea7c464641d49f7d2d7f918a5d923
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e533e50d59cea7c464641d49f7d2d7f918a5d923
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Dec 13 14:33:35 2007 +0100
user32: Print the RegisterHotKey fixme only once.
---
dlls/user32/input.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c
index dfb5201..7796e96 100644
--- a/dlls/user32/input.c
+++ b/dlls/user32/input.c
@@ -788,7 +788,8 @@ UINT WINAPI GetKeyboardLayoutList(INT nBuff, HKL *layouts)
*/
BOOL WINAPI RegisterHotKey(HWND hwnd,INT id,UINT modifiers,UINT vk)
{
- FIXME_(keyboard)("(%p,%d,0x%08x,%d): stub\n",hwnd,id,modifiers,vk);
+ static int once;
+ if (!once++) FIXME_(keyboard)("(%p,%d,0x%08x,%d): stub\n",hwnd,id,modifiers,vk);
return TRUE;
}
@@ -797,7 +798,8 @@ BOOL WINAPI RegisterHotKey(HWND hwnd,INT id,UINT modifiers,UINT vk)
*/
BOOL WINAPI UnregisterHotKey(HWND hwnd,INT id)
{
- FIXME_(keyboard)("(%p,%d): stub\n",hwnd,id);
+ static int once;
+ if (!once++) FIXME_(keyboard)("(%p,%d): stub\n",hwnd,id);
return TRUE;
}
More information about the wine-cvs
mailing list