From 2555485eb9d1eb03263ccbd6213bcc2082061bd3 Mon Sep 17 00:00:00 2001 From: oddMLan Date: Sun, 17 Mar 2019 19:45:05 -0700 Subject: [PATCH] [Debugger UI] Center CPU Exception Breakpoints dialog Also fix capitalization in menu --- Source/Project64/UserInterface/MainMenu.cpp | 2 +- Source/Project64/UserInterface/UIResources.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Project64/UserInterface/MainMenu.cpp b/Source/Project64/UserInterface/MainMenu.cpp index d324abb53..1a13ec2ce 100644 --- a/Source/Project64/UserInterface/MainMenu.cpp +++ b/Source/Project64/UserInterface/MainMenu.cpp @@ -1152,7 +1152,7 @@ void CMainMenu::FillOutMenu(HMENU hMenu) /* Debug - Exception breakpoints *******************/ - Item.Reset(ID_DEBUGGER_EXCBREAKPOINTS, EMPTY_STRING, EMPTY_STDSTR, NULL, L"CPU Exception breakpoints..."); + Item.Reset(ID_DEBUGGER_EXCBREAKPOINTS, EMPTY_STRING, EMPTY_STDSTR, NULL, L"CPU Exception Breakpoints..."); //Item.SetItemEnabled(CPURunning); DebugMenu.push_back(Item); diff --git a/Source/Project64/UserInterface/UIResources.rc b/Source/Project64/UserInterface/UIResources.rc index 61a26fd2a..7673efe25 100644 --- a/Source/Project64/UserInterface/UIResources.rc +++ b/Source/Project64/UserInterface/UIResources.rc @@ -1333,7 +1333,7 @@ BEGIN END IDD_Debugger_ExceptionBP DIALOGEX 0, 0, 213, 107 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "CPU Exception Breakpoints" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN