talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 87a01636eb14ac2220a3e3b2c9e3e3d24ad4450f
parent 17c095ce57618dcf63dc3c64555c90067be7fadd
Author: Colin Leroy <colin@colino.net>
Date:   Wed, 14 May 2014 10:21:23 +0200

Fix insertion

Diffstat:
Msrc/common/utils.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/utils.c b/src/common/utils.c @@ -2426,7 +2426,7 @@ gint remove_numbered_files_not_in_list(const gchar *dir, GSList *numberlist) wanted_files = g_hash_table_new(g_direct_hash, g_direct_equal); for (cur = numberlist; cur != NULL; cur = cur->next) { /* numberlist->data is expected to be GINT_TO_POINTER */ - g_hash_table_insert(wanted_files, numberlist->data, GINT_TO_POINTER(1)); + g_hash_table_insert(wanted_files, cur->data, GINT_TO_POINTER(1)); } while ((dir_name = g_dir_read_name(dp)) != NULL) {