diff --git a/src/misc.c b/src/misc.c index 6063584..d2f34d2 100644 --- a/src/misc.c +++ b/src/misc.c @@ -508,7 +508,7 @@ void PrintCLIorLabel(void *unused, char *format, ...) while(*c == '\n') /* Remove trailing newlines */ *c-- = 0; - SetLabelText(label, tmp); /* converts to utf8 by itself */ + SetLabelText(label, "%s", tmp); /* converts to utf8 by itself */ g_free(tmp); }