BScreen::resource.root_command wasnt being initialized
This commit is contained in:
parent
415f0241b3
commit
73f0a90993
2 changed files with 2 additions and 1 deletions
|
@ -214,6 +214,7 @@ BScreen::BScreen(Openbox &ob, int scrn, Resource &conf) : ScreenInfo(ob, scrn),
|
||||||
resource.tstyle.fontset = resource.wstyle.fontset = NULL;
|
resource.tstyle.fontset = resource.wstyle.fontset = NULL;
|
||||||
resource.mstyle.t_font = resource.mstyle.f_font = resource.tstyle.font =
|
resource.mstyle.t_font = resource.mstyle.f_font = resource.tstyle.font =
|
||||||
resource.wstyle.font = NULL;
|
resource.wstyle.font = NULL;
|
||||||
|
resource.root_command = NULL;
|
||||||
|
|
||||||
#ifdef SLIT
|
#ifdef SLIT
|
||||||
slit = NULL;
|
slit = NULL;
|
||||||
|
|
|
@ -397,7 +397,7 @@ void Toolbar::reconfigure() {
|
||||||
if (tt) {
|
if (tt) {
|
||||||
char t[1025], *time_string = (char *) 0;
|
char t[1025], *time_string = (char *) 0;
|
||||||
int len = strftime(t, 1024, screen.strftimeFormat(), tt);
|
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';
|
t[len] = '\0';
|
||||||
|
|
||||||
if (i18n->multibyte()) {
|
if (i18n->multibyte()) {
|
||||||
|
|
Loading…
Reference in a new issue