Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
dc26ec8b37
commit
3a15f0c09c
1 changed files with 1 additions and 1 deletions
|
@ -3134,7 +3134,7 @@ class CHandlerGameConfigFullscreen : public IActionHandler
|
||||||
virtual void execute (CCtrlBase *pCaller, const string &/* Params */)
|
virtual void execute (CCtrlBase *pCaller, const string &/* Params */)
|
||||||
{
|
{
|
||||||
CInterfaceManager *pIM = CInterfaceManager::getInstance();
|
CInterfaceManager *pIM = CInterfaceManager::getInstance();
|
||||||
bool bFullscreen;
|
bool bFullscreen = false;
|
||||||
{
|
{
|
||||||
CCtrlBaseButton *pBut = dynamic_cast<CCtrlBaseButton*>(pIM->getElementFromId( GAME_CONFIG_VIDEO_FULLSCREEN_BUTTON ));
|
CCtrlBaseButton *pBut = dynamic_cast<CCtrlBaseButton*>(pIM->getElementFromId( GAME_CONFIG_VIDEO_FULLSCREEN_BUTTON ));
|
||||||
if (pBut) bFullscreen = pBut->getPushed();
|
if (pBut) bFullscreen = pBut->getPushed();
|
||||||
|
|
Loading…
Reference in a new issue