# HG changeset patch # User nenolod # Date 1160654698 25200 # Node ID bb090afdc8680377dc9da1a15457c016dac5d28f # Parent 80a28e538008bb25383ab765c3d2ea731ca0f500 [svn] - some fixes via alxorlov on the forums diff -r 80a28e538008 -r bb090afdc868 ChangeLog --- a/ChangeLog Sat Oct 07 13:34:06 2006 -0700 +++ b/ChangeLog Thu Oct 12 05:04:58 2006 -0700 @@ -1,3 +1,17 @@ +2006-10-07 20:34:06 +0000 Jonathan Schleifer + revision [176] + - Replace ?= at CFLAGS, CPPFLAGS and CXXFLAGS with += + - Replace ?= at CC, CPP and CXX with = + + The reason for this is that on some systems CC, CFLAGS, CPP, CPPFLAGS, + CXX and CXXFLAGS are set by default and therefore are already set at + this step so that it can happen that the wrong variables are used (or + the ones from the configure script are ignored). + + trunk/mk/rules.mk.in | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + + 2006-10-06 17:51:55 +0000 Yoshiki Yazawa revision [174] - mtime=-1 has been introduced to represent "uninitialized". diff -r 80a28e538008 -r bb090afdc868 src/m3u/m3u.c --- a/src/m3u/m3u.c Sat Oct 07 13:34:06 2006 -0700 +++ b/src/m3u/m3u.c Thu Oct 12 05:04:58 2006 -0700 @@ -42,6 +42,7 @@ parse_extm3u_info(const gchar * info, gchar ** title, gint * length) { gchar *str; + gchar *temp; g_return_if_fail(info != NULL); g_return_if_fail(title != NULL); @@ -64,11 +65,12 @@ *length *= 1000; if ((str = strchr(info, ','))) { - *title = g_strstrip(g_strdup(str + 1)); - if (strlen(*title) < 1) { - g_free(*title); - *title = NULL; - } + temp = g_strstrip(g_strdup(str + 1)); + if (strlen(temp) > 0) + *title = g_locale_to_utf8(temp, -1, NULL, NULL, NULL); + + g_free(temp); + temp = NULL; } } diff -r 80a28e538008 -r bb090afdc868 src/mpg123/fileinfo.c --- a/src/mpg123/fileinfo.c Sat Oct 07 13:34:06 2006 -0700 +++ b/src/mpg123/fileinfo.c Thu Oct 12 05:04:58 2006 -0700 @@ -767,8 +767,10 @@ if (ptr != NULL) gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(genre_combo)->entry), ptr); - gtk_widget_set_sensitive(GTK_WIDGET(w), FALSE); - gtk_widget_set_sensitive(GTK_WIDGET(data), FALSE); + if (w != NULL) + gtk_widget_set_sensitive(GTK_WIDGET(w), FALSE); + if (data != NULL) + gtk_widget_set_sensitive(GTK_WIDGET(data), FALSE); taglib_file_free(taglib_file); taglib_tag_free_strings();