Fix typo in handling feed name ending with a period on Win32.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 19 Jan 2016 14:01:50 +0000 (15:01 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 19 Jan 2016 14:01:50 +0000 (15:01 +0100)
src/plugins/rssyl/rssyl_subscribe.c

index b9dbc43246247ff3a5fdd81924d967bafdb8f1d7..f80ec82620c7f9280d88c688e9b9bf90ddeec9af 100644 (file)
@@ -133,7 +133,7 @@ gboolean rssyl_subscribe(FolderItem *parent, const gchar *url,
        if (tmpname2[0] == '.')
                tmpname2[0] = "_";
        if (tmpname2[strlen(tmpname2) - 1] == '.')
-               tmpname2[strlen(tmpname2) - 1] == '_';
+               tmpname2[strlen(tmpname2) - 1] = '_';
 #endif
 
        while (folder_find_child_item_by_name(parent, tmpname2) != 0 && i < 20) {