summaryrefslogtreecommitdiff
path: root/gui/input.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 05:06:05 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 05:06:05 -0300
commit744cace90da595ab0dc98f65ed053968e07ef2c6 (patch)
tree3ebcc5862b51a34bbde2dc45eca757140b8fec4f /gui/input.c
parentf4c830911621fca111a28ffc735a11b330975adf (diff)
downloadeeshow-744cace90da595ab0dc98f65ed053968e07ef2c6.tar.gz
eeshow-744cace90da595ab0dc98f65ed053968e07ef2c6.tar.bz2
eeshow-744cace90da595ab0dc98f65ed053968e07ef2c6.zip
eeshow/diag.c (progress): don't require user to supply newline
Diffstat (limited to 'gui/input.c')
-rw-r--r--gui/input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/input.c b/gui/input.c
index c03d5da..64644af 100644
--- a/gui/input.c
+++ b/gui/input.c
@@ -118,7 +118,7 @@ static void hover_update(int x, int y)
if (sp != old_sp)
return;
- progress(3, "hover_update %s\n", state());
+ progress(3, "hover_update %s", state());
switch (sp->state) {
case input_idle:
@@ -180,7 +180,7 @@ static gboolean motion_notify_event(GtkWidget *widget, GdkEventMotion *event,
if (!sp)
return TRUE;
- progress(3, "motion %s\n", state());
+ progress(3, "motion %s", state());
switch (sp->state) {
case input_idle:
@@ -221,7 +221,7 @@ static gboolean button_press_event(GtkWidget *widget, GdkEventButton *event,
if (event->button != 1)
return TRUE;
- progress(3, "press %s\n", state());
+ progress(3, "press %s", state());
switch (sp->state) {
case input_idle:
@@ -256,7 +256,7 @@ static gboolean button_release_event(GtkWidget *widget, GdkEventButton *event,
if (event->button != 1)
return TRUE;
- progress(3, "release %s\n", state());
+ progress(3, "release %s", state());
switch (sp->state) {
case input_idle: