From 72c121e797fb697efe6827411a94e1ffe383a15f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 10 Aug 2011 23:00:52 +0200 Subject: [PATCH] ieframe: Only print the FIXMEs once for progress bar handling. --- dlls/ieframe/taskbarlist.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dlls/ieframe/taskbarlist.c b/dlls/ieframe/taskbarlist.c index 5055d80ab49..72ae4dfb1ca 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; }