summaryrefslogtreecommitdiff
path: root/framebuffer/localhistory.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/localhistory.c')
-rw-r--r--framebuffer/localhistory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer/localhistory.c b/framebuffer/localhistory.c
index 76e4bd989..d8f2b048d 100644
--- a/framebuffer/localhistory.c
+++ b/framebuffer/localhistory.c
@@ -88,7 +88,7 @@ localhistory_click(fbtk_widget_t *widget, fbtk_callback_info *cbi)
{
struct gui_localhistory *glh = cbi->context;
- if (cbi->event->type != NSFB_EVENT_KEY_DOWN)
+ if (cbi->event->type != NSFB_EVENT_KEY_UP)
return 0;
history_click(glh->bw, glh->bw->history, cbi->x, cbi->y, false);