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:
c20a8d9
)
dont exit when a theme can't be loaded during reconfigure
author
Dana Jansens
<danakj@orodu.net>
Wed, 3 Sep 2003 23:13:40 +0000
(23:13 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 3 Sep 2003 23:13:40 +0000
(23:13 +0000)
openbox/openbox.c
patch
|
blob
|
history
diff --git
a/openbox/openbox.c
b/openbox/openbox.c
index
1547bc0
..
1490ab7
100644
(file)
--- a/
openbox/openbox.c
+++ b/
openbox/openbox.c
@@
-244,9
+244,13
@@
int main(int argc, char **argv)
}
/* load the theme specified in the rc file */
- ob_rr_theme = RrThemeNew(ob_rr_inst, config_theme);
- if (ob_rr_theme == NULL)
- ob_exit_with_error("Unable to load a theme.");
+ {
+ RrTheme *theme;
+ if ((theme = RrThemeNew(ob_rr_inst, config_theme)))
+ ob_rr_theme = theme;
+ if (ob_rr_theme == NULL)
+ ob_exit_with_error("Unable to load a theme.");
+ }
moveresize_startup(reconfigure);
screen_startup(reconfigure);