From: Mikael Magnusson Date: Sat, 1 Mar 2008 16:55:35 +0000 (+0100) Subject: Super miniscule optimization. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=610e80e05286fd8fa189ad19aecd68dc978a48b8;p=chaz%2Fopenbox Super miniscule optimization. --- diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c index d939ed51..142fec51 100644 --- a/openbox/actions/desktop.c +++ b/openbox/actions/desktop.c @@ -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); }