summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2016-09-02 22:45:03 +0000
committerShlomi Fish <shlomif@shlomifish.org>2016-09-02 22:45:03 +0000
commit0cb40b191cbc0fe51412a09ed8f720913c08cab2 (patch)
tree735104cf1d5385c1899dc1b74480f865722b2a7f /src
parentInline two "style" variables. (diff)
downloadinkscape-0cb40b191cbc0fe51412a09ed8f720913c08cab2.tar.gz
inkscape-0cb40b191cbc0fe51412a09ed8f720913c08cab2.zip
Remove a superflous == TRUE.
(bzr r15100.1.4)
Diffstat (limited to 'src')
-rw-r--r--src/inkscape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 6f8ea4324..2ba85026f 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -549,7 +549,7 @@ Application::Application(const char* argv, bool use_gui) :
#define DEFAULT_LOG_REDIRECT false
#endif
- if (use_gui == TRUE && prefs->getBool("/dialogs/debug/redirect", DEFAULT_LOG_REDIRECT))
+ if (use_gui && prefs->getBool("/dialogs/debug/redirect", DEFAULT_LOG_REDIRECT))
{
Inkscape::UI::Dialog::DebugDialog::getInstance()->captureLogMessages();
}