projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Super miniscule optimization.
[mikachu/openbox.git]
/
openbox
/
actions
/
desktop.c
diff --git
a/openbox/actions/desktop.c
b/openbox/actions/desktop.c
index
d939ed5
..
142fec5
100644
(file)
--- 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;
}
else {
o->type = ABSOLUTE;
- o->abs.desktop =
parse_int(doc, n
) - 1;
+ o->abs.desktop =
atoi(s
) - 1;
}
g_free(s);
}
}
g_free(s);
}