Mercurial > gftp.yaz
changeset 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 | ff091f8e387f |
children | 65f55c815252 |
files | ChangeLog src/gtk/transfer.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Mar 29 11:55:13 2005 +0000 +++ b/ChangeLog Thu Mar 31 21:49:20 2005 +0000 @@ -1,3 +1,7 @@ +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 + 2005-3-29 Brian Masney <masneyb@gftp.org> * src/text/gftp-text.c src/gtk/options_dialog.c - compiler fixes for GTK+ 1.2 @@ -3296,7 +3300,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.409 2005/03/29 11:55:13 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.410 2005/03/31 21:49:20 masneyb Exp $ tags * debian/* - updated files from Debian maintainer
--- 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