1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

Issue #168: Configuration cleanup, part 2

Corrected return code.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
Lukasz Gromanowski 2011-09-02 19:55:10 +02:00
parent d62fd96cd5
commit 0b1d6d4330

View file

@ -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,