This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch bugfix/help-cmd in repository x2goclient. from 50378fa help.cpp: use new newline feature for some options. new abf9161 help.cpp: switch from do { ... } while (...); to just while (...) { ... }. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: src/help.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
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 abf916195fa7801c4a63f695d0947e6229d7b470 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Apr 23 00:05:06 2015 +0200 help.cpp: switch from do { ... } while (...); to just while (...) { ... }. --- src/help.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/help.cpp b/src/help.cpp index fc920c6..6744f8a 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -230,7 +230,7 @@ QString help::pretty_print (help::data_t data) { QString working_copy (*desc_split_it); - do { + while (!working_copy.isEmpty ()) { cur_len = working_copy.size (); x2goDebug << "Trying to fit a (remaining) description " << cur_len << " characters wide." << endl; @@ -271,7 +271,7 @@ QString help::pretty_print (help::data_t data) { } } } - } while (!working_copy.isEmpty ()); + } } else { /* No idea what the terminal size is. Just print it all onto one line. */ -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git