1
0
Fork 0
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:
Linus Nielsen Feltzing 2002-10-16 13:17:26 +00:00
parent 7ec35e7828
commit e45c069d69
3 changed files with 13 additions and 60 deletions

View file

@ -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;
}