diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-05-04 19:53:26 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-05-04 19:53:26 +0000 |
commit | 15a0a17174c58e7d6d20f4128b7a4eddab5478d5 (patch) | |
tree | a967789c1e59d332ef33571c312b9c29a81dbff1 | |
parent | 2343a1935d70e358ab6bbeda87d0016686eca7a3 (diff) |
Fix viewer crash due to uninitialsed usage of rb->
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9875 a1c6a512-1295-4272-9138-f99709370657
-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) int button, i, ok; int lastbutton = BUTTON_NONE; bool autoscroll = false; - int old_tick = *rb->current_tick; + long old_tick; rb = api; + old_tick = *rb->current_tick; if (!file) return PLUGIN_ERROR; |