diff src/gtk/menu-items.c @ 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 2ad324cf4930
children ab4c90a561fc
line wrap: on
line diff
--- 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;