changeset 276:70d0c9a2e424

2003-9-21 Brian Masney <masneyb@gftp.org> * src/gtk/menu-items.c (dosave_directory_listing) - fixed a bug that would occur when saving directory listings to a file, the last filename in the list was never written to the file (from Aurelien Jarno <aurel32@debian.org>)
author masneyb
date Mon, 22 Sep 2003 10:40:08 +0000
parents 5810b0f97eee
children 186552196fc7
files ChangeLog src/gtk/menu-items.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Sep 21 17:33:45 2003 +0000
+++ b/ChangeLog	Mon Sep 22 10:40:08 2003 +0000
@@ -1,4 +1,9 @@
 2003-9-21 Brian Masney <masneyb@gftp.org>
+	* src/gtk/menu-items.c (dosave_directory_listing) - fixed a bug that 
+	would occur when saving directory listings to a file, the last filename
+	in the list was never written to the file 
+	(from Aurelien Jarno <aurel32@debian.org>)
+
 	* lib/protocols.c (gftp_parse_bookmark) lib/gftp.h lib/bookmark.c 
 	src/gtk/bookmarks.c - added pointer to refresh_local variable that is
 	enabled if the local directory was changed. In src/gtk/bookmarks.c, if
@@ -1512,7 +1517,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.140 2003/09/21 17:33:44 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.141 2003/09/22 10:40:06 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/src/gtk/menu-items.c	Sun Sep 21 17:33:45 2003 +0000
+++ b/src/gtk/menu-items.c	Mon Sep 22 10:40:08 2003 +0000
@@ -223,7 +223,7 @@
     }
 
   for (templist = str->wdata->files; 
-       templist->next != NULL;
+       templist != NULL;
        templist = templist->next)
     {
       tempfle = templist->data;