# HG changeset patch # User nenolod # Date 1143486155 28800 # Node ID 21e0ef28e318d7d008802b33cafa647e9d997193 # Parent 053b35fd1f3e5634ee7b32e7e8232fa1c4be2a5e [svn] - Unbreak headless support. This probably needs to be backported to 0.2.4. diff -r 053b35fd1f3e -r 21e0ef28e318 audacious/mainwin.c --- a/audacious/mainwin.c Sun Mar 26 14:17:03 2006 -0800 +++ b/audacious/mainwin.c Mon Mar 27 11:02:35 2006 -0800 @@ -810,7 +810,8 @@ static void mainwin_refresh_hints(void) { - if (bmp_active_skin->properties.mainwin_othertext == TRUE) + if (bmp_active_skin && bmp_active_skin->properties.mainwin_othertext + == TRUE) { widget_hide(WIDGET(mainwin_rate_text)); widget_hide(WIDGET(mainwin_freq_text)); @@ -886,7 +887,8 @@ mainwin_force_redraw = TRUE; } - if (bmp_active_skin->properties.mainwin_othertext == TRUE) + if (bmp_active_skin && bmp_active_skin->properties.mainwin_othertext + == TRUE) { g_snprintf(text, 512, "%d kbps, %0.1f khz, %s", bitrate < 1000 ? bitrate : bitrate / 100,