]> Dogcows Code - chaz/openbox/blobdiff - src/Toolbar.cc
BScreen::resource.root_command wasnt being initialized
[chaz/openbox] / src / Toolbar.cc
index d238d1eaf79d6f7522fa5e00a9a4e8fe8d5832cf..6e54b0185415cab69508633849b671503576be4b 100644 (file)
@@ -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()) {
This page took 0.024115 seconds and 4 git commands to generate.