This commit is contained in:
Julien Danjou 2007-12-23 13:46:36 +01:00
parent c59ecf0127
commit d428982af7
1 changed files with 1 additions and 2 deletions

View File

@ -79,8 +79,7 @@ textbox_new(Statusbar *statusbar, cfg_t *config)
w->draw = textbox_draw;
w->tell = textbox_tell;
d = p_new(Data, 1);
w->data = (void*) d;
w->data = d = p_new(Data, 1);
if ((color = cfg_getstr(config, "fg")))
d->fg = initxcolor(statusbar->screen, color);