[X2Go-Commits] [x2goclient] 01/02: help.cpp: actually recalculate the new indent *before* writing whitespace.
git-admin at x2go.org
git-admin at x2go.org
Wed Apr 22 21:47:43 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/help-cmd
in repository x2goclient.
commit fb9b1b028a35dff3261907d6a3940601152e1d08
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Apr 22 21:22:51 2015 +0200
help.cpp: actually recalculate the new indent *before* writing whitespace.
---
src/help.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/help.cpp b/src/help.cpp
index c538868..ff8dc99 100644
--- a/src/help.cpp
+++ b/src/help.cpp
@@ -244,8 +244,8 @@ QString help::pretty_print (help::data_t data) {
/* Do the next chunk, if there are remaining characters. */
if (!working_copy.isEmpty ()) {
out << "\n";
- out << QString (" ").repeated (indent);
indent = terminal_cols - remaining;
+ out << QString (" ").repeated (indent);
}
}
}
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list