Mercurial > gftp.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
275:5810b0f97eee | 276:70d0c9a2e424 |
---|---|
221 g_strerror (errno)); | 221 g_strerror (errno)); |
222 return; | 222 return; |
223 } | 223 } |
224 | 224 |
225 for (templist = str->wdata->files; | 225 for (templist = str->wdata->files; |
226 templist->next != NULL; | 226 templist != NULL; |
227 templist = templist->next) | 227 templist = templist->next) |
228 { | 228 { |
229 tempfle = templist->data; | 229 tempfle = templist->data; |
230 | 230 |
231 tempstr = gftp_gen_ls_string (tempfle, NULL, NULL); | 231 tempstr = gftp_gen_ls_string (tempfle, NULL, NULL); |