diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/viewer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index bdebbbe506..73621c1579 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -1123,9 +1123,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
1123 | int button, i, ok; | 1123 | int button, i, ok; |
1124 | int lastbutton = BUTTON_NONE; | 1124 | int lastbutton = BUTTON_NONE; |
1125 | bool autoscroll = false; | 1125 | bool autoscroll = false; |
1126 | int old_tick = *rb->current_tick; | 1126 | long old_tick; |
1127 | 1127 | ||
1128 | rb = api; | 1128 | rb = api; |
1129 | old_tick = *rb->current_tick; | ||
1129 | 1130 | ||
1130 | if (!file) | 1131 | if (!file) |
1131 | return PLUGIN_ERROR; | 1132 | return PLUGIN_ERROR; |