summaryrefslogtreecommitdiffstats
path: root/src/extension/output.cpp
diff options
context:
space:
mode:
authorraphael0202 <raphael0202@yahoo.fr>2016-03-18 07:04:08 +0000
committerJazzyNico <nicoduf@yahoo.fr>2016-03-18 07:04:08 +0000
commitb288e8e5d98684ae81c109a4c4ffa1d25fc4d727 (patch)
tree7e0ffe1378d934eeea9c4e8dc6df9a90c3c717dd /src/extension/output.cpp
parent[Bug #1545769] Adding MimeTypes in the desktop.in file. (diff)
downloadinkscape-b288e8e5d98684ae81c109a4c4ffa1d25fc4d727.tar.gz
inkscape-b288e8e5d98684ae81c109a4c4ffa1d25fc4d727.zip
[Bug #1558177] Simplify if conditions in Script.cpp.
Fixed bugs: - https://launchpad.net/bugs/1558177 (bzr r14715)
Diffstat (limited to 'src/extension/output.cpp')
-rw-r--r--src/extension/output.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extension/output.cpp b/src/extension/output.cpp
index 8de5583c7..83f0fed2f 100644
--- a/src/extension/output.cpp
+++ b/src/extension/output.cpp
@@ -192,8 +192,7 @@ Output::prefs (void)
delete dialog;
- if (response == Gtk::RESPONSE_OK) return true;
- return false;
+ return (response == Gtk::RESPONSE_OK);
}
/**