mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 15:42:28 -05:00
Apply fix for FS#9203 (WPS gets corrupted after changing status bar setting) by Thomas Schott
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18192 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ff5533f3ac
commit
a11f656d68
1 changed files with 1 additions and 1 deletions
|
|
@ -787,7 +787,7 @@ static void statusbar_toggle_handler(void *data)
|
||||||
struct wps_viewport *vp = &gui_wps[i].data->viewports[0];
|
struct wps_viewport *vp = &gui_wps[i].data->viewports[0];
|
||||||
if (gui_wps[i].data->wps_sb_tag)
|
if (gui_wps[i].data->wps_sb_tag)
|
||||||
draw = gui_wps[i].data->show_sb_on_wps;
|
draw = gui_wps[i].data->show_sb_on_wps;
|
||||||
if (!global_settings.statusbar && !draw)
|
if (!draw)
|
||||||
{
|
{
|
||||||
vp->vp.y = 0;
|
vp->vp.y = 0;
|
||||||
vp->vp.height = screens[i].lcdheight;
|
vp->vp.height = screens[i].lcdheight;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue