Super miniscule optimization.
authorMikael Magnusson <mikachu@comhem.se>
Sat, 1 Mar 2008 16:55:35 +0000 (17:55 +0100)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 2 Mar 2008 12:49:40 +0000 (13:49 +0100)
openbox/actions/desktop.c

index d939ed5..142fec5 100644 (file)
@@ -89,7 +89,7 @@ static gpointer setup_go_func(ObParseInst *i, xmlDocPtr doc,
         }
         else {
             o->type = ABSOLUTE;
-            o->abs.desktop = parse_int(doc, n) - 1;
+            o->abs.desktop = atoi(s) - 1;
         }
         g_free(s);
     }