]> Dogcows Code - chaz/openbox/commitdiff
previous should not mean the same as last
authorMikael Magnusson <mikachu@comhem.se>
Sat, 14 Jul 2007 23:41:30 +0000 (01:41 +0200)
committerMikael Magnusson <mikachu@comhem.se>
Sat, 14 Jul 2007 23:41:30 +0000 (01:41 +0200)
openbox/actions/desktop.c

index 0e9ad7399d192fd0b8dce391e6a4be7dac6145e5..0620c453b191dc694ecd30b7b5632c38e11284ff 100644 (file)
@@ -55,8 +55,7 @@ static gpointer setup_go_func(ObParseInst *i, xmlDocPtr doc,
 
     if ((n = parse_find_node("to", node))) {
         gchar *s = parse_string(doc, n);
-        if (!g_ascii_strcasecmp(s, "last") ||
-            !g_ascii_strcasecmp(s, "previous"))
+        if (!g_ascii_strcasecmp(s, "last"))
             o->type = LAST;
         else if (!g_ascii_strcasecmp(s, "next")) {
             o->type = RELATIVE;
This page took 0.025642 seconds and 4 git commands to generate.