mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[Fix Yellow] remove DEBUGF from skin_parser.c cleanup spaces
move const to the proper side Change-Id: Ide7c1878281eaee28d06426eee43041ad61acbc4
This commit is contained in:
parent
68d4fd0e5b
commit
793c797447
8 changed files with 54 additions and 58 deletions
|
@ -63,7 +63,7 @@ void dummy_process(enum screen_type screen, struct wps_data *data, bool preproce
|
|||
{ (void)screen, (void)data, (void)preprocess; } /* dummy replaces conditionals */
|
||||
|
||||
static const struct gui_skin_helper empty_skin_helper = {&dummy_process,NULL,false};
|
||||
static const struct gui_skin_helper const * skin_helpers[SKINNABLE_SCREENS_COUNT] =
|
||||
static const struct gui_skin_helper * const skin_helpers[SKINNABLE_SCREENS_COUNT] =
|
||||
{
|
||||
#define SKH(proc, def, lob) &((struct gui_skin_helper){proc, def, lob})
|
||||
&empty_skin_helper,
|
||||
|
|
|
@ -2162,10 +2162,6 @@ static bool skin_load_fonts(struct wps_data *data)
|
|||
|
||||
static int convert_viewport(struct wps_data *data, struct skin_element* element)
|
||||
{
|
||||
if (element->tag)
|
||||
DEBUGF("%s %s\n", __func__, element->tag->name);
|
||||
else
|
||||
DEBUGF("%s %s\n", __func__, "?");
|
||||
struct skin_viewport *skin_vp = skin_buffer_alloc(sizeof(*skin_vp));
|
||||
struct screen *display = &screens[curr_screen];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue