diff options
author | Michael Jennings <mej@kainx.org> | 2002-06-14 13:06:34 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2002-06-14 13:06:34 +0000 |
commit | 4e84d0f65b661e7f159108f3f94b7b9d0130a14e (patch) | |
tree | 55d833c007bf3a772c42941429c5b9b756038b6a /src/command.c | |
parent | 9d5764844fb3f6393bf539a254889ae8a4dbf4d5 (diff) | |
download | eterm-4e84d0f65b661e7f159108f3f94b7b9d0130a14e.tar.gz |
Fri Jun 14 09:05:49 2002 Michael Jennings (mej)
This should fix the bug Creepy spotted where the buttonbar event
initialization was crashing.
SVN revision: 6323
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c index de9faf9..fe76ee2 100644 --- a/src/command.c +++ b/src/command.c @@ -2888,6 +2888,9 @@ escreen_init(char **argv) return -1; } } else { + if (buttonbar == NULL) { + buttonbar = bbar; + } bbar_set_font(bbar, "-*-helvetica-medium-r-normal--10-*-*-*-p-*-iso8859-1"); bbar_init(bbar, TermWin.width); bbar_add(bbar); |