forked from len0rd/rockbox
Fix backwardly named variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30823 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6f8564987f
commit
09d0b6fec4
1 changed files with 2 additions and 4 deletions
|
|
@ -95,11 +95,9 @@ static int list_line_height(const struct viewport *vp)
|
|||
|
||||
static void list_init_viewports(struct gui_synclist *list)
|
||||
{
|
||||
int parent_used;
|
||||
bool parent_used = (*list->parent == &parent[SCREEN_MAIN]);
|
||||
|
||||
parent_used = (*list->parent != &parent[SCREEN_MAIN]);
|
||||
|
||||
if (!parent_used)
|
||||
if (parent_used)
|
||||
{
|
||||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue