changeset 512:1cab8be8af51 trunk

[svn] Indentation changes.
author nenolod
date Thu, 26 Jan 2006 10:47:47 -0800
parents 9da0f92ce2ef
children 66cb6c4055c6
files audacious/playlist_list.c
diffstat 1 files changed, 18 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/playlist_list.c	Thu Jan 26 10:47:29 2006 -0800
+++ b/audacious/playlist_list.c	Thu Jan 26 10:47:47 2006 -0800
@@ -526,30 +526,28 @@
 	    frags = NULL;
 	    frag0 = NULL;
 
-	    if ( (strlen(tail)>0) && (tail != NULL) ) {
-
-            frags = g_strsplit(tail, ":", 0);
-            frag0 = g_strconcat(frags[0], ":", NULL);
+	    if ((strlen(tail) > 0) && (tail != NULL)) {
+                frags = g_strsplit(tail, ":", 0);
+                frag0 = g_strconcat(frags[0], ":", NULL);
 
-            layout = gtk_widget_create_pango_layout(playlistwin, frags[1]);
-       	    pango_layout_set_font_description(layout, playlist_list_font);
-            pango_layout_set_width(layout, tail_len * 100);
-       	    pango_layout_set_alignment(layout, PANGO_ALIGN_LEFT);
-            gdk_draw_layout(obj, gc, x - (0.5 * width_approx_digits),
-       	                    y + abs(descent), layout);
-            g_object_unref(layout);
+                layout = gtk_widget_create_pango_layout(playlistwin, frags[1]);
+       	        pango_layout_set_font_description(layout, playlist_list_font);
+                pango_layout_set_width(layout, tail_len * 100);
+                pango_layout_set_alignment(layout, PANGO_ALIGN_LEFT);
+                gdk_draw_layout(obj, gc, x - (0.5 * width_approx_digits),
+       	                        y + abs(descent), layout);
+                g_object_unref(layout);
 
-            layout = gtk_widget_create_pango_layout(playlistwin, frag0);
-            pango_layout_set_font_description(layout, playlist_list_font);
-            pango_layout_set_width(layout, tail_len * 100);
-            pango_layout_set_alignment(layout, PANGO_ALIGN_RIGHT);
-            gdk_draw_layout(obj, gc, x - (0.75 * width_approx_digits),
+                layout = gtk_widget_create_pango_layout(playlistwin, frag0);
+                pango_layout_set_font_description(layout, playlist_list_font);
+                pango_layout_set_width(layout, tail_len * 100);
+                pango_layout_set_alignment(layout, PANGO_ALIGN_RIGHT);
+                gdk_draw_layout(obj, gc, x - (0.75 * width_approx_digits),
                             y + abs(descent), layout);
-            g_object_unref(layout);
+                g_object_unref(layout);
 
-            g_free(frag0);
-            g_strfreev(frags);
-
+                g_free(frag0);
+                g_strfreev(frags);
 	    }
 
             if (pos != -1) {