mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-23 17:23:58 +00:00
Issue #168: Configuration cleanup, part 2
Corrected return code. Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
parent
d62fd96cd5
commit
0b1d6d4330
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ bool OgreRenderer::configure(bool showConfig,
|
||||||
// showConfig parameter is specified. The settings are stored in
|
// showConfig parameter is specified. The settings are stored in
|
||||||
// ogre.cfg. If showConfig is false, the settings are assumed to
|
// ogre.cfg. If showConfig is false, the settings are assumed to
|
||||||
// already exist in ogre.cfg.
|
// already exist in ogre.cfg.
|
||||||
return (showConfig) ? mRoot->showConfigDialog() : mRoot->restoreConfig();
|
return (showConfig) ? !mRoot->showConfigDialog() : !mRoot->restoreConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OgreRenderer::configure(bool showConfig,
|
bool OgreRenderer::configure(bool showConfig,
|
||||||
|
|
Loading…
Reference in a new issue