projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b10638
)
Fix adding a selection to a collection with no window open
author
Laurent Monin
<geeqie@norz.org>
Wed, 23 Apr 2008 09:56:21 +0000
(09:56 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Wed, 23 Apr 2008 09:56:21 +0000
(09:56 +0000)
using the sort manager. Only one file was added, now all
files in the selection are added (but duplicates).
A pointer was not reset correctly.
src/collect-io.c
patch
|
blob
|
history
diff --git
a/src/collect-io.c
b/src/collect-io.c
index
62ac2b1
..
9fb9d12
100644
(file)
--- a/
src/collect-io.c
+++ b/
src/collect-io.c
@@
-189,6
+189,7
@@
static gint collection_load_private(CollectionData *cd, const gchar *path, Colle
collection_add_check(cd, file_data_new_simple(buf), FALSE, TRUE);
changed = TRUE;
g_free(buf);
+ buf = NULL;
}
}