From 0b1d6d4330818ee3e491e1ec78928ff714e9bbaa Mon Sep 17 00:00:00 2001 From: Lukasz Gromanowski Date: Fri, 2 Sep 2011 19:55:10 +0200 Subject: [PATCH] Issue #168: Configuration cleanup, part 2 Corrected return code. Signed-off-by: Lukasz Gromanowski --- ogre/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogre/renderer.cpp b/ogre/renderer.cpp index 0cd75c6b6..ca263d815 100644 --- a/ogre/renderer.cpp +++ b/ogre/renderer.cpp @@ -56,7 +56,7 @@ bool OgreRenderer::configure(bool showConfig, // showConfig parameter is specified. The settings are stored in // ogre.cfg. If showConfig is false, the settings are assumed to // already exist in ogre.cfg. - return (showConfig) ? mRoot->showConfigDialog() : mRoot->restoreConfig(); + return (showConfig) ? !mRoot->showConfigDialog() : !mRoot->restoreConfig(); } bool OgreRenderer::configure(bool showConfig,