diff src/gtk/transfer.c @ 703:56de00e9afa1

2005-3-31 Brian Masney <masneyb@gftp.org> * src/gtk/transfer.c (check_done_process) - make sure the local file is not removed if the editor is set to a non-existent editor
author masneyb
date Thu, 31 Mar 2005 21:49:20 +0000
parents 8990a8a26ccf
children 11b85ac0ec15
line wrap: on
line diff
--- a/src/gtk/transfer.c	Tue Mar 29 11:55:13 2005 +0000
+++ b/src/gtk/transfer.c	Thu Mar 31 21:49:20 2005 +0000
@@ -349,7 +349,8 @@
                     {
                       ftp_log (gftp_logging_error, NULL,
                                _("Error: Child %d returned %d\n"), pid, procret);
-                      remove_file (ve_proc->filename);
+                      if (ve_proc->view)
+                        remove_file (ve_proc->filename);
                       continue;
                     }
                   else