long policy

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5930 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jean-Philippe Bernardy 2005-02-12 12:20:10 +00:00
parent 45e0de3e63
commit 39eb8e134f
3 changed files with 6 additions and 6 deletions

View file

@ -619,7 +619,7 @@ static bool dirbrowse(void)
char buf[MAX_PATH]; char buf[MAX_PATH];
int i; int i;
int lasti=-1; int lasti=-1;
int button; unsigned button;
int tree_max_on_screen; int tree_max_on_screen;
bool reload_root = false; bool reload_root = false;
int lastfilter = *tc.dirfilter; int lastfilter = *tc.dirfilter;
@ -630,7 +630,7 @@ static bool dirbrowse(void)
long thumbnail_time = -1; /* for delaying a thumbnail */ long thumbnail_time = -1; /* for delaying a thumbnail */
bool update_all = false; /* set this to true when the whole file list bool update_all = false; /* set this to true when the whole file list
has been refreshed on screen */ has been refreshed on screen */
int lastbutton = 0; unsigned lastbutton = 0;
char* currdir = tc.currdir; /* just a shortcut */ char* currdir = tc.currdir; /* just a shortcut */
bool id3db = *tc.dirfilter == SHOW_ID3DB; bool id3db = *tc.dirfilter == SHOW_ID3DB;
@ -689,7 +689,7 @@ static bool dirbrowse(void)
#ifndef SIMULATOR #ifndef SIMULATOR
if (boot_changed) { if (boot_changed) {
bool stop = false; bool stop = false;
int button; unsigned int button;
lcd_clear_display(); lcd_clear_display();
lcd_puts(0,0,str(LANG_BOOT_CHANGED)); lcd_puts(0,0,str(LANG_BOOT_CHANGED));

View file

@ -426,9 +426,9 @@ static void waitfor_nokey(void)
} }
/* demonstrates showing different formats from playtune */ /* demonstrates showing different formats from playtune */
int wps_show(void) long wps_show(void)
{ {
int button = 0, lastbutton = 0; long button = 0, lastbutton = 0;
bool ignore_keyup = true; bool ignore_keyup = true;
bool restore = false; bool restore = false;
long restoretimer = 0; /* timer to delay screen redraw temporarily */ long restoretimer = 0; /* timer to delay screen redraw temporarily */

View file

@ -24,7 +24,7 @@
extern bool keys_locked; extern bool keys_locked;
extern bool wps_time_countup; extern bool wps_time_countup;
int wps_show(void); long wps_show(void);
bool refresh_wps(bool refresh_scroll); bool refresh_wps(bool refresh_scroll);
void handle_usb(void); void handle_usb(void);