ieframe: Only print the FIXMEs once for progressbar handling
André Hentschel
nerv at dawncrow.de
Wed Aug 10 16:00:52 CDT 2011
for fine resolution progressbars this is quite noisy
---
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;
}
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list