Index: downloads.cc =================================================================== RCS file: /sfhome/cvs/dillo/dillo/dpi/downloads.cc,v retrieving revision 1.2 diff -u -r1.2 downloads.cc --- downloads.cc 2 Jan 2006 20:31:02 -0000 1.2 +++ downloads.cc 2 Jan 2006 21:33:13 -0000 @@ -904,6 +904,7 @@ if (stat(dl_dest, &sb) == 0 && S_ISDIR(sb.st_mode)) make_new_name(&dl_dest, url); + { DLAction action = dl_win->check_filename(&dl_dest); if (action != DL_ABORT) { // Start the whole thing whithin FLTK. @@ -911,6 +912,7 @@ } else if (dl_win->num() == 0) { exit(0); } + } end: g_free(cmd);