From 4017fd2928de27dcecd206e2cfc6ce5c3e149aed Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 9 Jun 2010 05:37:56 +0000 Subject: fix errors git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26711 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pictureflow/pictureflow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/plugins/pictureflow') 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; -- cgit