diff options
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 6 |
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) | |||
788 | return track_names + tracks[track_index].filename_idx; | 788 | return track_names + tracks[track_index].filename_idx; |
789 | return 0; | 789 | return 0; |
790 | } | 790 | } |
791 | #endif | ||
791 | 792 | ||
792 | int get_wps_current_index(void) | 793 | int get_wps_current_index(void) |
793 | { | 794 | { |
@@ -800,7 +801,7 @@ int get_wps_current_index(void) | |||
800 | } | 801 | } |
801 | return last_album; | 802 | return last_album; |
802 | } | 803 | } |
803 | #endif | 804 | |
804 | /** | 805 | /** |
805 | Compare two unsigned ints passed via pointers. | 806 | Compare two unsigned ints passed via pointers. |
806 | */ | 807 | */ |
@@ -2742,7 +2743,7 @@ int main(void) | |||
2742 | if ( pf_state == pf_idle || pf_state == pf_scrolling ) | 2743 | if ( pf_state == pf_idle || pf_state == pf_scrolling ) |
2743 | show_previous_slide(); | 2744 | show_previous_slide(); |
2744 | break; | 2745 | break; |
2745 | 2746 | #if PF_PLAYBACK_CAPABLE | |
2746 | case PF_CONTEXT: | 2747 | case PF_CONTEXT: |
2747 | if ( auto_wps != 0 ) { | 2748 | if ( auto_wps != 0 ) { |
2748 | if( pf_state == pf_idle ) { | 2749 | if( pf_state == pf_idle ) { |
@@ -2759,6 +2760,7 @@ int main(void) | |||
2759 | } | 2760 | } |
2760 | } | 2761 | } |
2761 | break; | 2762 | break; |
2763 | #endif | ||
2762 | case PF_TRACKLIST: | 2764 | case PF_TRACKLIST: |
2763 | if ( auto_wps == 1 && pf_state == pf_idle ) { | 2765 | if ( auto_wps == 1 && pf_state == pf_idle ) { |
2764 | pf_state = pf_cover_in; | 2766 | pf_state = pf_cover_in; |