Properly format/use variadic macros

This commit is contained in:
GravisZro
2024-05-24 11:46:07 -04:00
parent 8485cb0c4d
commit 9cf9781369
292 changed files with 3784 additions and 3725 deletions

View File

@@ -265,7 +265,7 @@ void UIButton::OnMouseBtnDown(int btn) {
if (m_State != UI_BTS_ACTIVATED && PT_IN_GADGET(m_Wnd, this, UI_input.mx, UI_input.my)) {
m_State = UI_BTS_ACTIVATED;
LOCK_FOCUS(this);
// mprintf((0, "Mouse down, locking gadget.\n"));
// mprintf(0, "Mouse down, locking gadget.\n");
} else if (m_State == UI_BTS_ACTIVATED && !PT_IN_GADGET(m_Wnd, this, UI_input.mx, UI_input.my)) {
m_State = UI_BTS_HILITE;
}
@@ -281,7 +281,7 @@ void UIButton::OnMouseBtnUp(int btn) {
}
m_State = UI_BTS_HILITE;
}
// mprintf((0, "Mouse up, unlocking gadget.\n"));
// mprintf(0, "Mouse up, unlocking gadget.\n");
UNLOCK_FOCUS(this);
}
}