aboutsummaryrefslogtreecommitdiffstats
path: root/fileset.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-08-29 21:03:33 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-08-29 21:03:33 +0000
commit6bacefdd2de6dad371ea9c87b568a345cb860145 (patch)
tree7c4f620e0b3006d87b0d409bf48636d38142784a /fileset.c
parentadc7305cd4e1016ec7a9f15a0ab1afaa8eb4794d (diff)
fix a minor bug: don't show a single file twice in the fileset dialog
svn path=/trunk/; revision=19078
Diffstat (limited to 'fileset.c')
-rw-r--r--fileset.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fileset.c b/fileset.c
index 81cc739d7f..c0c192d65d 100644
--- a/fileset.c
+++ b/fileset.c
@@ -272,9 +272,7 @@ fileset_add_dir(const char *fname)
} else {
/* no, this is a "standalone file", just add this one */
entry = fileset_add_file(dirname->str, get_basename(fname), TRUE /* current */);
- if(entry) {
- fileset_dlg_add_file(entry);
- }
+ /* don't add the file to the dialog here, this will be done in fileset_update_dlg() below */
}
g_string_free(dirname, TRUE /* free_segment */);