diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-13 07:33:20 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-13 07:33:20 +0000 |
commit | 038fc8a66e492927758d0c4fd345779d31a21167 (patch) | |
tree | 32da8d2dfe35205d8b62f2a21efd736f283522da | |
parent | 3b04a85245473a6e0f82ee479ef399bc8163a473 (diff) | |
download | rockbox-038fc8a66e492927758d0c4fd345779d31a21167.tar.gz rockbox-038fc8a66e492927758d0c4fd345779d31a21167.zip |
Fix the %cs tag for the pitchscreen and playlist viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29997 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/pitchscreen.c | 3 | ||||
-rw-r--r-- | apps/root_menu.c | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/apps/gui/pitchscreen.c b/apps/gui/pitchscreen.c index 5620de47e8..421ec04676 100644 --- a/apps/gui/pitchscreen.c +++ b/apps/gui/pitchscreen.c | |||
@@ -746,6 +746,8 @@ int gui_syncpitchscreen_run(void) | |||
746 | struct viewport pitch_viewports[NB_SCREENS][PITCH_ITEM_COUNT]; | 746 | struct viewport pitch_viewports[NB_SCREENS][PITCH_ITEM_COUNT]; |
747 | int max_lines[NB_SCREENS]; | 747 | int max_lines[NB_SCREENS]; |
748 | 748 | ||
749 | push_current_activity(ACTIVITY_PITCHSCREEN); | ||
750 | |||
749 | #if CONFIG_CODEC == SWCODEC | 751 | #if CONFIG_CODEC == SWCODEC |
750 | int32_t new_speed = 0, new_stretch; | 752 | int32_t new_speed = 0, new_stretch; |
751 | 753 | ||
@@ -1060,5 +1062,6 @@ int gui_syncpitchscreen_run(void) | |||
1060 | #if CONFIG_CODEC == SWCODEC | 1062 | #if CONFIG_CODEC == SWCODEC |
1061 | pcmbuf_set_low_latency(false); | 1063 | pcmbuf_set_low_latency(false); |
1062 | #endif | 1064 | #endif |
1065 | pop_current_activity(); | ||
1063 | return 0; | 1066 | return 0; |
1064 | } | 1067 | } |
diff --git a/apps/root_menu.c b/apps/root_menu.c index bee1502781..3e53bd9dc1 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -339,7 +339,12 @@ static int miscscrn(void * param) | |||
339 | static int playlist_view(void * param) | 339 | static int playlist_view(void * param) |
340 | { | 340 | { |
341 | (void)param; | 341 | (void)param; |
342 | switch (playlist_viewer()) | 342 | int val; |
343 | |||
344 | push_current_activity(ACTIVITY_PLAYLISTVIEWER); | ||
345 | val = playlist_viewer(); | ||
346 | pop_current_activity(); | ||
347 | switch (val) | ||
343 | { | 348 | { |
344 | case PLAYLIST_VIEWER_MAINMENU: | 349 | case PLAYLIST_VIEWER_MAINMENU: |
345 | case PLAYLIST_VIEWER_USB: | 350 | case PLAYLIST_VIEWER_USB: |