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:
commit
f8a3885706
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user