]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
fixed issue 45, segfault without clock
[chaz/tint2] / src / config.c
index f93faf572a124de89d77c86b04985f3eba1e6a5f..5ef34640d776c19d3b4e271224d43056a380ec35 100644 (file)
@@ -573,7 +573,8 @@ void config_finish ()
    // force the resize
        for (i=0 ; i < nb_panel ; i++) {
           panel1[i].area.resize = 1;
-          resize_clock(&panel1[i].clock);
+          if (time1_format)
+                  resize_clock(&panel1[i].clock);
        }
 
    init_taskbar();
This page took 0.019882 seconds and 4 git commands to generate.