summaryrefslogtreecommitdiffstats
path: root/uisimulator/common
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2012-06-23 18:12:41 +0200
committerSzymon Dziok <b0hoon@o2.pl>2012-06-23 18:12:41 +0200
commit7038c558932ccbedb2a2296751acf9a70f792f1c (patch)
treea5cdf835d5bdddf8e8dfa66056026f10fbef6255 /uisimulator/common
parentba3b6ceb4b7354c001a38653ab14c6014f4398bf (diff)
downloadrockbox-7038c558932ccbedb2a2296751acf9a70f792f1c.tar.gz
rockbox-7038c558932ccbedb2a2296751acf9a70f792f1c.tar.bz2
rockbox-7038c558932ccbedb2a2296751acf9a70f792f1c.zip
Fix a bug introduced in 91b52a1, broken icons in the Archos Player simulator.
Change-Id: I2c4ef0828a9e44084f35b82ea71e430d0c14ecfb
Diffstat (limited to 'uisimulator/common')
-rw-r--r--uisimulator/common/lcd-playersim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/common/lcd-playersim.c b/uisimulator/common/lcd-playersim.c
index 6ea6b526aa..14efded5d4 100644
--- a/uisimulator/common/lcd-playersim.c
+++ b/uisimulator/common/lcd-playersim.c
@@ -49,7 +49,7 @@ void lcd_print_icon(int x, int icon_line, bool enable, char **icon)
for (; icon[row]; row++)
{
- for (; icon[row][col]; col++)
+ for (col = 0; icon[row][col]; col++)
{
switch (icon[row][col])
{