# HG changeset patch # User Giacomo Lozito # Date 1184536931 -7200 # Node ID 5dc103115dab2fa21be13c15d3be9a0f09d75caa # Parent 72766f2e8713c2088103c0344dd61dde671e1981 added a default drawing for ui_skinned_monostereo diff -r 72766f2e8713 -r 5dc103115dab src/audacious/ui_skinned_monostereo.c --- a/src/audacious/ui_skinned_monostereo.c Sun Jul 15 20:02:21 2007 +0200 +++ b/src/audacious/ui_skinned_monostereo.c Mon Jul 16 00:02:11 2007 +0200 @@ -189,10 +189,6 @@ gc = gdk_gc_new(obj); switch (monostereo->num_channels) { - case 0: - skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 12, 0, 0, 27, 12); - skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 12, 27, 0, 29, 12); - break; case 1: skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 0, 0, 0, 27, 12); skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 12, 27, 0, 29, 12); @@ -201,6 +197,11 @@ skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 12, 0, 0, 27, 12); skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 0, 27, 0, 29, 12); break; + default: + case 0: + skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 12, 0, 0, 27, 12); + skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 12, 27, 0, 29, 12); + break; } GdkPixmap *image = NULL;