forked from len0rd/rockbox
Removed all traces of the repeat and release masks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2684 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7ec35e7828
commit
e45c069d69
3 changed files with 13 additions and 60 deletions
|
|
@ -334,15 +334,12 @@ bool viewer_run(char* file)
|
|||
int button;
|
||||
int col = 0;
|
||||
int ok;
|
||||
int oldmask;
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
/* no margins */
|
||||
lcd_setmargins(0, 0);
|
||||
#endif
|
||||
|
||||
oldmask = button_set_release(~0);
|
||||
|
||||
ok = viewer_init(file);
|
||||
if (!ok) {
|
||||
lcd_clear_display();
|
||||
|
|
@ -431,7 +428,5 @@ bool viewer_run(char* file)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
button_set_release(oldmask);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue