aboutsummaryrefslogtreecommitdiff
path: root/multimedia/audacious/files/patch-audacious-ui_playlist.c
blob: bcc6fc5a2029dd5409447e30261d977b6286d43e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- audacious/ui_playlist.c.orig	Fri Dec  1 14:28:04 2006
+++ audacious/ui_playlist.c	Fri Dec  1 14:28:24 2006
@@ -300,9 +300,10 @@
 gint
 playlistwin_get_height_unshaded(void)
 {
+    gint height;
     cfg.playlist_height /= PLAYLISTWIN_HEIGHT_SNAP;
     cfg.playlist_height *= PLAYLISTWIN_HEIGHT_SNAP;
-    gint height = cfg.playlist_height;
+    height = cfg.playlist_height;
     return height;
 }