1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Merge pull request #620 from josephbisch/suppress-printf-fallback

Add SUPPRESS_PRINTF_FALLBACK
This commit is contained in:
ailin-nemui 2017-01-16 19:14:54 +01:00 committed by GitHub
commit f8a3885706

View File

@ -446,7 +446,9 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
if (dest->window == NULL) { if (dest->window == NULL) {
str = strip_codes(text); str = strip_codes(text);
#ifndef SUPPRESS_PRINTF_FALLBACK
printf("NO WINDOWS: %s\n", str); printf("NO WINDOWS: %s\n", str);
#endif
g_free(str); g_free(str);
return; return;
} }