Commit 602f68f2 authored by Aida Jonikienė's avatar Aida Jonikienė Committed by Alexandre Julliard

comctl32: Only print TREEVIEW_HandleTimer() ERR once.

Older versions of Roblox trigger this quite a bit and it's annoying to me so let's only print it once.
parent b9714336
......@@ -4116,9 +4116,11 @@ TREEVIEW_EndEditLabelNow(TREEVIEW_INFO *infoPtr, BOOL bCancel)
static LRESULT
TREEVIEW_HandleTimer(TREEVIEW_INFO *infoPtr, WPARAM wParam)
{
static unsigned int once;
if (wParam != TV_EDIT_TIMER)
{
ERR("got unknown timer\n");
if (!once++) ERR("got unknown timer %Id\n", wParam);
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment