diff options
| author | Dusan Durech <dusan.d@centrum.sk> | 2008-11-14 16:38:41 +0100 |
|---|---|---|
| committer | Dusan Durech <dusan.d@centrum.sk> | 2008-11-14 16:38:41 +0100 |
| commit | 98875c5a636f50fe89b9394b8193e86094ae14e0 (patch) | |
| tree | 305f1a3c884763aff65f8bcd12ff9d2f648a04cd /src/widget/widget_button.c | |
| parent | 957f3411170ca1d5f30ee2e2c4e25393195cce75 (diff) | |
uses new macro DEBUG_MSG
Diffstat (limited to 'src/widget/widget_button.c')
| -rw-r--r-- | src/widget/widget_button.c | 6 |
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); } } |