Code

Fixed abort (Ctrl-G) handling in the save playlist prompt
authorKalle Wallin <kaw@linux.se>
Mon, 13 Dec 2004 16:21:36 +0000 (16:21 +0000)
committerKalle Wallin <kaw@linux.se>
Mon, 13 Dec 2004 16:21:36 +0000 (16:21 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2794 09075e82-0dd4-0310-85a5-a0d7c8717e4f

ChangeLog
src/screen_play.c

index 48042cb0c8e9ef6cba7af06ec55ebdde1ac1c1e5..e79f31393fb0ab3b9cec3e987bc33c8917485c94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-12-12  Kalle Wallin <kaw@linux.se>
+       * screen_play.c: Fixed abort (Ctrl-G) handling in the save playlist prompt
+
+2004-12-09  Kalle Wallin <kaw@linux.se>
+       * strfsong.c: %time% format fix from Aurelien Foret (use %02d for seconds)
+
 2004-11-14  Kalle Wallin <kaw@linux.se>
        * Added a search screen 
        * screen_browse.c: added enqueue and play feature
index a86ab01287601d923a3c4f6169e08ddddaa2c04d..cdb8320e8c66e7886c93b1b3482ccec58c0e74e7 100644 (file)
@@ -156,13 +156,14 @@ handle_save_playlist(screen_t *screen, mpdclient_t *c, char *name)
                               NULL,
                               NULL,
                               gcmp);                                  
-      filename=g_strstrip(filename);
 
       /* destroy completion support */
       wrln_pre_completion_callback = NULL;
       wrln_post_completion_callback = NULL;
       g_completion_free(gcmp);
       list = string_list_free(list);
+      if( filename )
+       filename=g_strstrip(filename);
     }
   else
     {