projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0c94948
)
* Fixed a problem when looking for names of subfolders
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 8 Nov 2007 09:48:20 +0000
(09:48 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 8 Nov 2007 09:48:20 +0000
(09:48 +0000)
pmo-trunk-r3673
src/modest-tny-folder.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-folder.c
b/src/modest-tny-folder.c
index
725c0ec
..
e011a99
100644
(file)
--- a/
src/modest-tny-folder.c
+++ b/
src/modest-tny-folder.c
@@
-422,11
+422,12
@@
modest_tny_folder_has_subfolder_with_name (TnyFolderStore *parent,
else if (non_strict) {
TnyFolderType type = modest_tny_folder_guess_folder_type (folder);
if (type != TNY_FOLDER_TYPE_INVALID && type != TNY_FOLDER_TYPE_NORMAL)
else if (non_strict) {
TnyFolderType type = modest_tny_folder_guess_folder_type (folder);
if (type != TNY_FOLDER_TYPE_INVALID && type != TNY_FOLDER_TYPE_NORMAL)
- has_name = modest_text_utils_utf8_strcmp (modest_local_folder_info_get_type_display_name (type),
- new_name,
- TRUE);
- } else
+ has_name = !(modest_text_utils_utf8_strcmp (modest_local_folder_info_get_type_display_name (type),
+ new_name,
+ TRUE));
+ } else {
has_name = FALSE;
has_name = FALSE;
+ }
g_object_unref (folder);
tny_iterator_next(iter);
g_object_unref (folder);
tny_iterator_next(iter);