summaryrefslogtreecommitdiffstats
path: root/kdesktop/kxdglauncher.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-04-27 18:37:41 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-04-27 20:35:02 +0200
commit2cf71f6ad3d35fd30d9b280fcfd59b94a9fa34ce (patch)
tree4bf3f2523ed515f267692a65d78ee5092def1b73 /kdesktop/kxdglauncher.cpp
parentb19304461285cbf4416d93e68c41e97f1c2bef74 (diff)
downloadtdebase-2cf71f6ad3d35fd30d9b280fcfd59b94a9fa34ce.tar.gz
tdebase-2cf71f6ad3d35fd30d9b280fcfd59b94a9fa34ce.zip
Cleanup output clutter
(cherry picked from commit 74b1fc6576fa920094463e6e4f1528bc7a25d6d0)
Diffstat (limited to 'kdesktop/kxdglauncher.cpp')
-rw-r--r--kdesktop/kxdglauncher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdesktop/kxdglauncher.cpp b/kdesktop/kxdglauncher.cpp
index 6991d5e13..e6f2a42b5 100644
--- a/kdesktop/kxdglauncher.cpp
+++ b/kdesktop/kxdglauncher.cpp
@@ -103,7 +103,7 @@ int main( int argc, char **argv)
TQDir myqdir;
if (myqdir.exists(getDocumentPath(), TRUE) == true) {
if (args->isSet( "getpath" ) == true) {
- printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
+ printf("%s\n", (const char *)getDocumentPath().local8Bit());
return 0;
}
else {
@@ -140,7 +140,7 @@ int main( int argc, char **argv)
config.writeEntry("XDG_DOCUMENTS_DIR", TQString("\"") + xdgModifiedDirectory + TQString("\""), true);
config.sync();
if (args->isSet( "getpath" ) == true) {
- printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
+ printf("%s\n", (const char *)getDocumentPath().local8Bit());
return 0;
}
else {
@@ -164,12 +164,12 @@ int main( int argc, char **argv)
}
}
else {
- printf("[kxdglauncher] XDG variable not recognized\n\r");
+ printf("[kxdglauncher] XDG variable not recognized\n");
return 1;
}
}
else {
- printf("[kxdglauncher] Please specify the desired XDG variable name with --xdgname\n\r");
+ printf("[kxdglauncher] Please specify the desired XDG variable name with --xdgname\n");
return 1;
}
}