This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 3bf5fc4832ffd784bce1044410c3f99bd6b7de2a
Author: Mihai Moldovan <io...@ionic.de>
Date:   Wed Jun 22 04:51:28 2016 +0200

    src/x2goutils.cpp: fix faulty logic in find_binary (): only reset the given 
path to CWD iff it's actually empty. Not the other way around.
---
 debian/changelog  |    2 ++
 src/x2goutils.cpp |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5ffcb56..515808c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -325,6 +325,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       system-PA version.
     - src/pulsemanager.cpp: add warning message boxes where appropriate.
     - src/pulsemanager.cpp: remove extraneous newlines from debug output.
+    - src/x2goutils.cpp: fix faulty logic in find_binary (): only reset the
+      given path to CWD iff it's actually empty. Not the other way around.
 
  -- X2Go Release Manager <git-ad...@x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/x2goutils.cpp b/src/x2goutils.cpp
index 25a2b54..45c31df 100644
--- a/src/x2goutils.cpp
+++ b/src/x2goutils.cpp
@@ -298,7 +298,7 @@ QString find_binary (const QString &path, const QString 
&binary_name) {
     QString cur_path = "";
     QString tmp_path = path;
 
-    if (!(path.isEmpty ())) {
+    if (path.isEmpty ()) {
       tmp_path = "./";
     }
 

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email 
on /srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits

Reply via email to