summaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-01 22:21:12 +0000
committerDana Jansens <danakj@orodu.net>2002-05-01 22:21:12 +0000
commit73f0a9099304929c48cdbe0c686097b86a2db8e9 (patch)
tree308032d1f27ec09728b5a7ee4d83ba0dfd4d6a4f /src/Toolbar.cc
parent415f0241b377a14a3f7bb5ebffe2f40bce0147e4 (diff)
BScreen::resource.root_command wasnt being initialized
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index d238d1ea..6e54b018 100644
--- 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()) {