diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-01-25 21:40:55 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-01-25 21:40:55 +0000 |
| commit | 4c385729975db3dc5f89d260a34ac7d48cf7fb08 (patch) | |
| tree | b643b37a9d501c8b57ade277704527ee0703a0e4 | |
| parent | d796ab6f61a4a336c53d6689750aa0eca118bbfd (diff) | |
| download | rockbox-4c385729975db3dc5f89d260a34ac7d48cf7fb08.zip rockbox-4c385729975db3dc5f89d260a34ac7d48cf7fb08.tar.gz rockbox-4c385729975db3dc5f89d260a34ac7d48cf7fb08.tar.bz2 rockbox-4c385729975db3dc5f89d260a34ac7d48cf7fb08.tar.xz | |
Remove WPS related variable which is read but not set or changed. Closes FS#11396.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29139 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 1 | ||||
| -rw-r--r-- | apps/gui/wps.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 2bf0ee9..83e94b6 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h @@ -306,7 +306,6 @@ struct wps_state int ff_rewind_count; bool ff_rewind; bool paused; - bool wps_time_countup; bool is_fading; }; diff --git a/apps/gui/wps.c b/apps/gui/wps.c index cc20148..48498fe 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -355,8 +355,8 @@ bool ffwd_rew(int button) /* set the wps state ff_rewind_count so the progess info displays corectly */ - skin_get_global_state()->ff_rewind_count = (skin_get_global_state()->wps_time_countup == false)? - ff_rewind_count:-ff_rewind_count; + skin_get_global_state()->ff_rewind_count = ff_rewind_count; + FOR_NB_SCREENS(i) { skin_update(WPS, i, |