changeset 2577:1967594c1123 trunk

[svn] - avoid an exception
author nenolod
date Sun, 25 Feb 2007 22:03:15 -0800
parents 98d02ad44f3b
children 33911de063cb
files ChangeLog src/audacious/build_stamp.c src/audacious/widgets/skin.c
diffstat 3 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Feb 25 18:17:25 2007 -0800
+++ b/ChangeLog	Sun Feb 25 22:03:15 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-26 02:17:25 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4162]
+  - filename in filepopup should be utf8.
+  
+  trunk/src/audacious/ui_fileinfopopup.c |    5 ++++-
+  1 file changed, 4 insertions(+), 1 deletion(-)
+
+
 2007-02-26 01:55:30 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4160]
   - make directory drag-and-drop work again.
--- a/src/audacious/build_stamp.c	Sun Feb 25 18:17:25 2007 -0800
+++ b/src/audacious/build_stamp.c	Sun Feb 25 22:03:15 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070226-4160";
+const gchar *svn_stamp = "20070226-4162";
--- a/src/audacious/widgets/skin.c	Sun Feb 25 18:17:25 2007 -0800
+++ b/src/audacious/widgets/skin.c	Sun Feb 25 22:03:15 2007 -0800
@@ -542,6 +542,10 @@
     path_p = path_p ? path_p : skin->path;
 
     filename = find_file_recursively(path_p, "skin.hints");
+
+    if (filename == NULL)
+        return;
+
     inifile = open_ini_file(filename);
 
     skin->properties.mainwin_othertext = FALSE;