summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/gui/skin_engine/skin_tokens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index 20951cf81b..fa6a5daedd 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -1075,7 +1075,7 @@ const char *get_token_value(struct gui_wps *gwps,
#ifdef HAVE_TOUCHSCREEN
unsigned int last_touch = touchscreen_last_touch();
if (last_touch != 0xffff &&
- TIME_BEFORE(current_tick, token->value.i) + last_touch)
+ TIME_BEFORE(current_tick, token->value.i + last_touch))
return "t";
#endif
}