summaryrefslogtreecommitdiff
path: root/src/widget/widget_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/widget_button.c')
-rw-r--r--src/widget/widget_button.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget/widget_button.c b/src/widget/widget_button.c
index d02a568..dbd7aa5 100644
--- a/src/widget/widget_button.c
+++ b/src/widget/widget_button.c
@@ -86,9 +86,9 @@ void eventWidgetButton(widget_t * widget)
y >= widget->y && y <= widget->y + WIDGET_BUTTON_HEIGHT &&
isMouseClicked()) {
time = WIDGET_BUTTON_TIME;
-#ifdef DEBUG
- printf(_("Event caught\n"));
-#endif
+
+ DEBUG_MSG(_("Event caught\n"));
+
p->fce_event(widget);
}
}