1
0
Fork 0
forked from len0rd/rockbox

Deinline fuction and some whitespace tweaks

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23062 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2009-10-10 07:46:54 +00:00
parent 11f2564f73
commit 15514b0dc6

View file

@ -19,7 +19,6 @@
* *
****************************************************************************/ ****************************************************************************/
#include <stdio.h> #include <stdio.h>
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
@ -347,7 +346,8 @@ static bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_ente
changed = true; changed = true;
can_quit = true; can_quit = true;
FOR_NB_SCREENS(i) FOR_NB_SCREENS(i)
gui_quickscreen_draw(qs, &screens[i], &parent[i], vps[i],&vp_icons[i]); gui_quickscreen_draw(qs, &screens[i], &parent[i],
vps[i], &vp_icons[i]);
if (qs->callback) if (qs->callback)
qs->callback(qs); qs->callback(qs);
} }
@ -371,7 +371,7 @@ static bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_ente
return changed; return changed;
} }
static inline const struct settings_list *get_setting(int gs_value, static const struct settings_list *get_setting(int gs_value,
const struct settings_list *defaultval) const struct settings_list *defaultval)
{ {
if (gs_value != -1 && gs_value < nb_settings && if (gs_value != -1 && gs_value < nb_settings &&
@ -379,6 +379,7 @@ static inline const struct settings_list *get_setting(int gs_value,
return &settings[gs_value]; return &settings[gs_value];
return defaultval; return defaultval;
} }
bool quick_screen_quick(int button_enter) bool quick_screen_quick(int button_enter)
{ {
struct gui_quickscreen qs; struct gui_quickscreen qs;