Fix --select CLI option on Windows when selecting a particular message.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 28 May 2016 17:54:51 +0000 (19:54 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 28 May 2016 17:54:51 +0000 (19:54 +0200)
src/mainwindow.c

index 06be7d7fc9b2d80917b8946d8ca9b8d1db105f09..a82486f52c60425ec6cdb8b49f0558f406c2aa40 100644 (file)
@@ -5390,7 +5390,7 @@ void mainwindow_jump_to(const gchar *target, gboolean popup)
                return;
        }
        
-       msg = strrchr(tmp, G_DIR_SEPARATOR);
+       msg = strrchr(tmp, '/');
        if (msg) {
                *msg++ = '\0';
                if ((item = folder_find_item_from_identifier(tmp))) {