diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-01 14:41:49 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-06-01 14:41:49 +0000 |
commit | b58d3656d79e5f9752a22d55c139294412084e4f (patch) | |
tree | bd98c9d2ab0db1e0df432814bb398cdb49739fe1 /apps/gui/skin_engine/skin_render.c | |
parent | c54f4b34400ea96bd3e2d86ba919a0ae509a56a9 (diff) | |
download | rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.tar.gz rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.zip |
FS#11925 - Add a proper system to keep track of the current screen/activity to make %cs far more useful
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29944 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_render.c')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 3037a955c7..349dc07d0a 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c | |||
@@ -780,7 +780,7 @@ static __attribute__((noinline)) void skin_render_playlistviewer(struct playlist | |||
780 | int cur_pos, start_item, max; | 780 | int cur_pos, start_item, max; |
781 | int nb_lines = viewport_get_nb_lines(viewer->vp); | 781 | int nb_lines = viewport_get_nb_lines(viewer->vp); |
782 | #if CONFIG_TUNER | 782 | #if CONFIG_TUNER |
783 | if (current_screen() == GO_TO_FM) | 783 | if (get_current_activity() == ACTIVITY_FM) |
784 | { | 784 | { |
785 | cur_pos = radio_current_preset(); | 785 | cur_pos = radio_current_preset(); |
786 | start_item = cur_pos + viewer->start_offset; | 786 | start_item = cur_pos + viewer->start_offset; |