forked from len0rd/rockbox
Fix viewer crash due to uninitialsed usage of rb->
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9875 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2343a1935d
commit
15a0a17174
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue