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:
415f024
)
BScreen::resource.root_command wasnt being initialized
author
Dana Jansens
<danakj@orodu.net>
Wed, 1 May 2002 22:21:12 +0000
(22:21 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 1 May 2002 22:21:12 +0000
(22:21 +0000)
src/Screen.cc
patch
|
blob
|
history
src/Toolbar.cc
patch
|
blob
|
history
diff --git
a/src/Screen.cc
b/src/Screen.cc
index 2c46a836b6d2b587cd7ae5768f49b692348856ff..6749c4307211e4cd65c4666a3ed6715056518984 100644
(file)
--- a/
src/Screen.cc
+++ b/
src/Screen.cc
@@
-214,6
+214,7
@@
BScreen::BScreen(Openbox &ob, int scrn, Resource &conf) : ScreenInfo(ob, scrn),
resource.tstyle.fontset = resource.wstyle.fontset = NULL;
resource.mstyle.t_font = resource.mstyle.f_font = resource.tstyle.font =
resource.wstyle.font = NULL;
+ resource.root_command = NULL;
#ifdef SLIT
slit = NULL;
diff --git
a/src/Toolbar.cc
b/src/Toolbar.cc
index d238d1eaf79d6f7522fa5e00a9a4e8fe8d5832cf..6e54b0185415cab69508633849b671503576be4b 100644
(file)
--- a/
src/Toolbar.cc
+++ b/
src/Toolbar.cc
@@
-397,7
+397,7
@@
void Toolbar::reconfigure() {
if (tt) {
char t[1025], *time_string = (char *) 0;
int len = strftime(t, 1024, screen.strftimeFormat(), tt);
- t[len++
-1
] = ' '; // add a space to the string for padding
+ t[len++] = ' '; // add a space to the string for padding
t[len] = '\0';
if (i18n->multibyte()) {