summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pictureflow
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-09 05:37:56 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-09 05:37:56 +0000
commit4017fd2928de27dcecd206e2cfc6ce5c3e149aed (patch)
tree46c0a25ab8db93abf1eff3811d1e396ba6bf2825 /apps/plugins/pictureflow
parentd871ff8cce9afe8437f7b51f4cd853018abd9924 (diff)
downloadrockbox-4017fd2928de27dcecd206e2cfc6ce5c3e149aed.tar.gz
rockbox-4017fd2928de27dcecd206e2cfc6ce5c3e149aed.tar.bz2
rockbox-4017fd2928de27dcecd206e2cfc6ce5c3e149aed.zip
fix errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26711 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pictureflow')
-rw-r--r--apps/plugins/pictureflow/pictureflow.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index 3a150d10c0..0ab3ae1132 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -788,6 +788,7 @@ char* get_track_filename(const int track_index)
return track_names + tracks[track_index].filename_idx;
return 0;
}
+#endif
int get_wps_current_index(void)
{
@@ -800,7 +801,7 @@ int get_wps_current_index(void)
}
return last_album;
}
-#endif
+
/**
Compare two unsigned ints passed via pointers.
*/
@@ -2742,7 +2743,7 @@ int main(void)
if ( pf_state == pf_idle || pf_state == pf_scrolling )
show_previous_slide();
break;
-
+#if PF_PLAYBACK_CAPABLE
case PF_CONTEXT:
if ( auto_wps != 0 ) {
if( pf_state == pf_idle ) {
@@ -2759,6 +2760,7 @@ int main(void)
}
}
break;
+#endif
case PF_TRACKLIST:
if ( auto_wps == 1 && pf_state == pf_idle ) {
pf_state = pf_cover_in;