fixed issue 45, segfault without clock

git-svn-id: http://tint2.googlecode.com/svn/trunk@55 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-02-14 20:11:37 +00:00
parent 283a7fe289
commit 0139382514
8 changed files with 17 additions and 24 deletions

View 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();