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:
1f71a0d
)
dont use empty desktop names from the rc file
author
Dana Jansens
<danakj@orodu.net>
Fri, 25 May 2007 17:49:15 +0000
(17:49 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 25 May 2007 17:49:15 +0000
(17:49 +0000)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index
6a64c02
..
08b2d74
100644
(file)
--- a/
openbox/screen.c
+++ b/
openbox/screen.c
@@
-938,7
+938,7
@@
void screen_update_desktop_names()
it = g_slist_nth(config_desktops_names, i);
for (; i < screen_num_desktops; ++i) {
- if (it
)
+ if (it
&& ((char*)it->data)[0]) /* not empty */
/* use the names from the config file when possible */
screen_desktop_names[i] = g_strdup(it->data);
else