Fixed a warning with -pedantic

This commit is contained in:
Pierre Pronchery 2009-07-12 00:12:02 +00:00
parent 4ab845f1b6
commit 6881cc2073

View File

@ -233,7 +233,7 @@ static gboolean _on_timeout_clock(gpointer data)
return _panel_error(panel, "gettimeofday", TRUE);
t = tv.tv_sec;
localtime_r(&t, &tm);
strftime(buf, sizeof(buf), "%T\n%d/%m/%Y", &tm);
strftime(buf, sizeof(buf), "%H:%M:%S\n%d/%m/%Y", &tm);
gtk_label_set_text(GTK_LABEL(panel->clock), buf);
return TRUE;
}