projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ce4db
)
Super miniscule optimization.
author
Mikael Magnusson
<mikachu@comhem.se>
Sat, 1 Mar 2008 16:55:35 +0000
(17:55 +0100)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sun, 2 Mar 2008 12:49:40 +0000
(13:49 +0100)
openbox/actions/desktop.c
patch
|
blob
|
history
diff --git
a/openbox/actions/desktop.c
b/openbox/actions/desktop.c
index d939ed511ad5dd938fe92bd9d7da645444173b7c..142fec513108f6a64abb3a6360ee39300436af4e 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;
- o->abs.desktop =
parse_int(doc, n
) - 1;
+ o->abs.desktop =
atoi(s
) - 1;
}
g_free(s);
}