From f8f52565b9af2f9e9245aa40a23c8a95b2937530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 29 Sep 2022 21:36:20 +0200 Subject: [PATCH] Remove redundant call to SetMenu --- Windows/MainWindow.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Windows/MainWindow.cpp b/Windows/MainWindow.cpp index ebe755b979..733e270db3 100644 --- a/Windows/MainWindow.cpp +++ b/Windows/MainWindow.cpp @@ -334,9 +334,6 @@ namespace MainWindow dwStyle &= ~WS_POPUP; // Re-add caption and border styles. dwStyle |= WS_OVERLAPPEDWINDOW; - - // Put back the menu bar. - ::SetMenu(hWnd, menu); } else { // If the window was maximized before going fullscreen, make sure to restore first // in order not to have the taskbar show up on top of PPSSPP.