1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -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) { if (g_strcmp0(win_title, new_win_title) != 0) {
// print to x-window title bar // print to x-window title bar
printf(new_win_title); printf("%s", new_win_title);
if (win_title != NULL) { if (win_title != NULL) {
free(win_title); free(win_title);
} }