talons

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

commit 7c87afdcbc271211754ce2d097b20d85ff7cc6ba
parent 5b146e9eaa01a28c51431471bce6ea13a031e8ae
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sat,  9 Apr 2016 10:57:48 +0200

Fix parsing logic in RSSyl OPML import.

Possibly closes bug #3623.

Diffstat:
Msrc/plugins/rssyl/rssyl_cb_menu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);