summaryrefslogtreecommitdiff
path: root/apps/plugins/pictureflow
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2010-06-20 16:33:00 +0000
committerJens Arnold <amiconn@rockbox.org>2010-06-20 16:33:00 +0000
commit2f67cdc3e8e718b449320841b4a64e97f42793e0 (patch)
tree1fe1766855fb679204733a709223894d8e189f33 /apps/plugins/pictureflow
parent49f2fce039b2f10dc01fd1fa5971a8b68ab1b088 (diff)
Make unnecessarily static local variables non-static. It's more efficient, and it also fixes the weird lines with EABI on ARM7TDMI, although it doesn't explain them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26995 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pictureflow')
-rw-r--r--apps/plugins/pictureflow/pictureflow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index 787dea4cf9..546afad217 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -2317,7 +2317,7 @@ void update_cover_out_animation(void)
*/
static inline void draw_gradient(int y, int h)
{
- static int r, inc, c;
+ int r, inc, c;
inc = (100 << 8) / h;
c = 0;
selected_track_pulse = (selected_track_pulse+1) % 10;
@@ -2390,7 +2390,7 @@ void show_track_list(void)
create_track_index(center_slide.slide_index);
reset_track_list();
}
- static int titletxt_w, titletxt_x, color, titletxt_h;
+ int titletxt_w, titletxt_x, color, titletxt_h;
titletxt_h = rb->screens[SCREEN_MAIN]->getcharheight();
int titletxt_y = track_list_y;