projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839e5d9
)
Fix bug #3009 ‘"Rebuild folder tree" causes SIGSEGV if a directory name isn't valid...
author
Ricardo Mones
<ricardo@mones.org>
Thu, 5 Dec 2013 10:00:29 +0000
(11:00 +0100)
committer
Ricardo Mones
<ricardo@mones.org>
Thu, 5 Dec 2013 10:00:29 +0000
(11:00 +0100)
Based on initial patch submitted by Fabian Keil <fk@fabiankeil.de>
src/folder.c
patch
|
blob
|
history
diff --git
a/src/folder.c
b/src/folder.c
index 93d74797e38fbb95d68253ace9c036d93abf4e70..b9a3dc33b6c1541122c26f430c8201066ac2be47 100644
(file)
--- a/
src/folder.c
+++ b/
src/folder.c
@@
-346,7
+346,7
@@
FolderItem *folder_item_new(Folder *folder, const gchar *name, const gchar *path
cm_return_val_if_fail(item != NULL, NULL);
item->stype = F_NORMAL;
- item->name =
g_strdup
(name);
+ item->name =
conv_filename_to_utf8
(name);
item->path = g_strdup(path);
item->mtime = 0;
item->new_msgs = 0;