@@ -217,6 +217,7 @@ int main(void)
|
|||||||
{
|
{
|
||||||
draw_theme_install(SHUFFLE_INSTALL);
|
draw_theme_install(SHUFFLE_INSTALL);
|
||||||
shuffle_install(themes_list, theme_count);
|
shuffle_install(themes_list, theme_count);
|
||||||
|
shuffle_theme_count = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -397,6 +397,7 @@ Result shuffle_install(Theme_s *themes_list, int theme_count)
|
|||||||
if (themes_list[i].in_shuffle)
|
if (themes_list[i].in_shuffle)
|
||||||
{
|
{
|
||||||
shuffle_themes[count++] = &themes_list[i];
|
shuffle_themes[count++] = &themes_list[i];
|
||||||
|
themes_list[i].in_shuffle = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user