Fixed a bug introduced in patch #5630 which caused the battery icon to disappear in the engineeer2 WPS

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10229 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-07-18 12:59:16 +00:00
parent f5ee212802
commit df1df9560b

View file

@ -1671,7 +1671,7 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset,
/* wrap around if beyond last defined subline or WPS_MAX_SUBLINES */
if ((!data->format_lines[i][data->curr_subline[i]]) ||
reset_subline)
(data->curr_subline[i] == WPS_MAX_SUBLINES))
{
if (data->curr_subline[i] == 1)
only_one_subline = true;