changeset 441:bd26fc6893e3

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 22 Apr 2014 16:26:55 +0200
parents a7163018de2f (diff) c88090a15ae4 (current diff)
children d2f4e28b5a13
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ui/installwrapper.cpp	Tue Apr 22 13:27:23 2014 +0000
+++ b/ui/installwrapper.cpp	Tue Apr 22 16:26:55 2014 +0200
@@ -43,10 +43,10 @@
     }
 
     foreach (const QString &b64data, mChoices) {
-       if (!choicesFile->write(b64data.toLatin1())) {
+       if (choicesFile->write(b64data.toLatin1()) == -1) {
            return false;
        }
-       if (!choicesFile->write("\n")) {
+       if (choicesFile->write("\n") == -1) {
            return false;
        }
     }

http://wald.intevation.org/projects/trustbridge/