summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-01-16 19:14:54 +0100
committerGitHub <noreply@github.com>2017-01-16 19:14:54 +0100
commitf8a38857069a6de21444bafdef5d779188dcc74b (patch)
tree7c952b8f19ea0a9dccb9c2565626cdcdf48451ab
parent6e36ddc6b7cc1b87005743da4e58bd1d3c8182be (diff)
parentc8dafe2a76f199f35e24440ca85796454717965e (diff)
downloadirssi-f8a38857069a6de21444bafdef5d779188dcc74b.zip
Merge pull request #620 from josephbisch/suppress-printf-fallback
Add SUPPRESS_PRINTF_FALLBACK
-rw-r--r--src/fe-common/core/printtext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/core/printtext.c b/src/fe-common/core/printtext.c
index ba6f3242..01ef2dcd 100644
--- a/src/fe-common/core/printtext.c
+++ b/src/fe-common/core/printtext.c
@@ -446,7 +446,9 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
if (dest->window == NULL) {
str = strip_codes(text);
+#ifndef SUPPRESS_PRINTF_FALLBACK
printf("NO WINDOWS: %s\n", str);
+#endif
g_free(str);
return;
}