summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e24c31)
raw | patch | inline | side by side (parent: 8e24c31)
author | Romain Bignon <romain@peerfuse.org> | |
Tue, 3 Mar 2009 21:09:56 +0000 (22:09 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 3 Mar 2009 21:12:51 +0000 (22:12 +0100) |
It happens when there isn't any playlist in browser
src/screen_file.c | patch | blob | history |
diff --git a/src/screen_file.c b/src/screen_file.c
index f9325c092631ac3ffec83ee4b167eb0525ed2d1d..09d8dee08820f662567ad96062eb7d2eb2858524 100644 (file)
--- a/src/screen_file.c
+++ b/src/screen_file.c
}
}
- defaultname = utf8_to_locale(defaultname);
+ if(defaultname)
+ defaultname = utf8_to_locale(defaultname);
ret = playlist_save(c, NULL, defaultname);
g_free(defaultname);