Mercurial > audlegacy
changeset 889:21e0ef28e318 trunk
[svn] - Unbreak headless support. This probably needs to be backported to 0.2.4.
author | nenolod |
---|---|
date | Mon, 27 Mar 2006 11:02:35 -0800 |
parents | 053b35fd1f3e |
children | ed26947bbf57 |
files | audacious/mainwin.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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,