]> Dogcows Code - chaz/openbox/commitdiff
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 d939ed511ad5dd938fe92bd9d7da645444173b7c..142fec513108f6a64abb3a6360ee39300436af4e 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);
     }
This page took 0.023854 seconds and 4 git commands to generate.