fixed escape_str() - thanks to Alfons
[claws.git] / src / matcher.c
index 4c8f7c864dafc5638fa0bdd3f9155de7f716d71c..063929eb8438f73e026748def2506961be611e31 100644 (file)
@@ -140,7 +140,7 @@ gchar *matcher_escape_str(const gchar *str)
                return NULL;
 
        for (escape = 0, walk = str; *walk; walk++)
-               if (*walk == '\\' || *walk == '\"' || *walk == '\"')
+               if (*walk == '\\' || *walk == '\'' || *walk == '\"')
                        escape++;
 
        if (!escape)