summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristi Scarborough <christi@coraline.org>2005-07-05 23:37:23 +0000
committerChristi Scarborough <christi@coraline.org>2005-07-05 23:37:23 +0000
commit65a1b1a65b2314817655a5fcab2082480a10e554 (patch)
treefc009e965b712599fca7e0c705a94acaec2ade4e
parentbe7894509feb701630efa4a1a18a5af621068bac (diff)
downloadrockbox-65a1b1a65b2314817655a5fcab2082480a10e554.zip
rockbox-65a1b1a65b2314817655a5fcab2082480a10e554.tar.gz
rockbox-65a1b1a65b2314817655a5fcab2082480a10e554.tar.bz2
rockbox-65a1b1a65b2314817655a5fcab2082480a10e554.tar.xz
Fix broken player build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7035 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/wps-display.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index d3838f4..ab62a91 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -1127,6 +1127,7 @@ bool wps_refresh(struct mp3entry* id3,
/* scroll line */
if ((refresh_mode & WPS_REFRESH_SCROLL) ||
new_subline_refresh) {
+#ifdef HAVE_LCD_BITMAP
int strw,strh;
int ypos,xpos;
@@ -1148,6 +1149,10 @@ bool wps_refresh(struct mp3entry* id3,
lcd_putsxy(0, ypos, buf);
}
}
+#else
+ lcd_puts_scroll(0, i, buf);
+ update_line = true;
+#endif
}
}
else if (flags & (WPS_REFRESH_DYNAMIC | WPS_REFRESH_STATIC))
@@ -1156,6 +1161,7 @@ bool wps_refresh(struct mp3entry* id3,
if ((refresh_mode & (WPS_REFRESH_DYNAMIC|WPS_REFRESH_STATIC)) ||
new_subline_refresh)
{
+#ifdef HAVE_LCD_BITMAP
int ypos,xpos;
int strw,strh;
@@ -1171,6 +1177,10 @@ bool wps_refresh(struct mp3entry* id3,
} else {
lcd_putsxy(0, ypos, buf);
}
+#else
+ update_line = true;
+ lcd_puts(0, i, buf);
+#endif
}
}
}