projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b146e9
)
Fix parsing logic in RSSyl OPML import.
author
Andrej Kacian
<ticho@claws-mail.org>
Sat, 9 Apr 2016 08:57:48 +0000
(10:57 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Sat, 9 Apr 2016 08:57:48 +0000
(10:57 +0200)
Possibly closes bug #3623.
src/plugins/rssyl/rssyl_cb_menu.c
patch
|
blob
|
history
diff --git
a/src/plugins/rssyl/rssyl_cb_menu.c
b/src/plugins/rssyl/rssyl_cb_menu.c
index 476d2bc73943798e59fbb88e79d9898aa2c7ef8b..3abf54d3083056bd389c836254d64c996b332682 100644
(file)
--- a/
src/plugins/rssyl/rssyl_cb_menu.c
+++ b/
src/plugins/rssyl/rssyl_cb_menu.c
@@
-365,7
+365,7
@@
void rssyl_import_feed_list_cb(GtkAction *action, gpointer data)
/* This needs to be +2, since we will be comparing it to depth of
* <outline> tag in OPML's XML structure. Topmost outlines are under
* <opml> and <body>, hence 2. */
- ctx->depth = rssyl_folder_depth(item) +
2
;
+ ctx->depth = rssyl_folder_depth(item) +
1
;
ctx->current = NULL;
ctx->current = g_slist_append(ctx->current, item);