wmcalendar: Add format string to printf().

This commit is contained in:
Doug Torrance 2017-02-22 00:14:48 -05:00 committed by Carlos R. Mafra
parent 63dadf4eb3
commit 6778126403

View file

@ -11,7 +11,7 @@ void checkicalversion()
GtkWidget* label;
char* msg = "\n\nWARNING:\nIt is highly recommended to upgrade to libical 0.24!\nOtherwise wmCalendar will not work stable!\n";
if(!strcmp(ICAL_VERSION, "0.23")){
printf(msg);
printf("%s",msg);
dialog = gtk_dialog_new_with_buttons ("Warning",
NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,