From 987dc667f267a536e918194ab13d7375c3ad5537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 27 Apr 2013 18:36:33 +0200 Subject: Cleanup output clutter --- tderandr/libtderandr.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tderandr') diff --git a/tderandr/libtderandr.cc b/tderandr/libtderandr.cc index fe9461715..a22bd08b8 100644 --- a/tderandr/libtderandr.cc +++ b/tderandr/libtderandr.cc @@ -179,7 +179,7 @@ TQString KRandrSimpleAPI::applyIccFile(TQString screenName, TQString fileName) { icc_command = TQString("xcalib \"%1\"").arg(fileName); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error\n\r [xcalib apply]"); + printf("Xcalib pipe error\n [xcalib apply]"); } else { if (fgets(xcalib_result, 2048, pipe_xcalib)) { @@ -248,7 +248,7 @@ TQString KRandrSimpleAPI::applyIccFile(TQString screenName, TQString fileName) { icc_command = TQString("xcalib -c"); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error\n\r [xcalib clear]"); + printf("Xcalib pipe error\n [xcalib clear]"); } else { if (fgets(xcalib_result, 2048, pipe_xcalib)) { @@ -403,7 +403,7 @@ TQString KRandrSimpleAPI::applySystemWideIccConfiguration(TQString kde_confdir) icc_command = TQString("xcalib \"%1\"").arg(getIccFileName(NULL, "Default", kde_confdir)); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error [xcalib apply]\n\r"); + printf("Xcalib pipe error [xcalib apply]\n"); } else { if (fgets(xcalib_result, 2048, pipe_xcalib)) { @@ -697,7 +697,7 @@ bool KRandrSimpleAPI::applyDisplayConfiguration(TQPtrList scre } } else { - printf("[WARNING] Unable to find configuration for monitor %d; settings may not be correctly applied...\n\r", i); fflush(stdout); + printf("[WARNING] Unable to find configuration for monitor %d; settings may not be correctly applied...\n", i); fflush(stdout); } } freeScreenInfoStructure(randr_screen_info); @@ -1505,7 +1505,7 @@ TQString KRandrSimpleAPI::clearIccConfiguration() { icc_command = TQString("xcalib -c"); if ((pipe_xcalib = popen(icc_command.ascii(), "r")) == NULL) { - printf("Xcalib pipe error [xcalib clear]\n\r"); + printf("Xcalib pipe error [xcalib clear]\n"); } else { if (fgets(xcalib_result, 2048, pipe_xcalib)) { -- cgit v1.2.1