Commit 49f73bb0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

win32_fullscreen: Remove useless check

Fix cid #59963
IsFullscreen() will only return true if _FSWnd is non null
parent a3435f15
......@@ -880,10 +880,8 @@ void VLCWindowsManager::EndFullScreen()
ShowWindow(_FSWnd->getHWND(), SW_HIDE);
if(_FSWnd){
_FSWnd->DestroyWindow();
}
_FSWnd = 0;
_FSWnd->DestroyWindow();
_FSWnd = nullptr;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment