1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

windows.c: fixed gcc warning

This commit is contained in:
Dmitry Podgorny 2013-01-13 00:55:13 +02:00
parent d7b969b135
commit 8bfeb5fc91

View File

@ -190,7 +190,7 @@ _ui_draw_win_title(void)
if (g_strcmp0(win_title, new_win_title) != 0) {
// print to x-window title bar
printf(new_win_title);
printf("%s", new_win_title);
if (win_title != NULL) {
free(win_title);
}