André Hentschel : ieframe: Only print the FIXMEs once for progress bar handling.
Alexandre Julliard
julliard at winehq.org
Tue Aug 23 12:44:55 CDT 2011
Module: wine
Branch: master
Commit: 72c121e797fb697efe6827411a94e1ffe383a15f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=72c121e797fb697efe6827411a94e1ffe383a15f
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Aug 10 23:00:52 2011 +0200
ieframe: Only print the FIXMEs once for progress bar handling.
---
dlls/ieframe/taskbarlist.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/ieframe/taskbarlist.c b/dlls/ieframe/taskbarlist.c
index 5055d80..72ae4df 100644
--- a/dlls/ieframe/taskbarlist.c
+++ b/dlls/ieframe/taskbarlist.c
@@ -139,8 +139,9 @@ static HRESULT STDMETHODCALLTYPE taskbar_list_SetProgressValue(ITaskbarList4 *if
ULONGLONG ullCompleted,
ULONGLONG ullTotal)
{
- FIXME("iface %p, hwnd %p, ullCompleted %s, ullTotal %s stub!\n", iface, hwnd,
- wine_dbgstr_longlong(ullCompleted), wine_dbgstr_longlong(ullTotal));
+ static BOOL fixme_once;
+ if(!fixme_once++) FIXME("iface %p, hwnd %p, ullCompleted %s, ullTotal %s stub!\n", iface, hwnd,
+ wine_dbgstr_longlong(ullCompleted), wine_dbgstr_longlong(ullTotal));
return S_OK;
}
@@ -149,7 +150,8 @@ static HRESULT STDMETHODCALLTYPE taskbar_list_SetProgressState(ITaskbarList4 *if
HWND hwnd,
TBPFLAG tbpFlags)
{
- FIXME("iface %p, hwnd %p, flags %x stub!\n", iface, hwnd, tbpFlags);
+ static BOOL fixme_once;
+ if(!fixme_once++) FIXME("iface %p, hwnd %p, flags %x stub!\n", iface, hwnd, tbpFlags);
return S_OK;
}
More information about the wine-cvs
mailing list