summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2018-04-12 21:40:29 +0200
committerGitHub <noreply@github.com>2018-04-12 21:40:29 +0200
commitb2de380d162c4805edb94808f38a214725d2724e (patch)
tree1d8a9e7eea10820e5d645ad5028e506836b856de /Source/Core/DolphinWX/Frame.cpp
parent0bfeb37a1f50193d39559d29802cb48f45db2b02 (diff)
parent40bb9974f21878e64fb03d70e717cb996bf13a29 (diff)
Merge pull request #6635 from spycrab/fix_linter
Tools: Bump lint.sh version
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index c2214fe77f..eaebe056d4 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -204,7 +204,7 @@ WXLRESULT CRenderFrame::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPa
// Let Core finish initializing before accepting any WM_CLOSE messages
if (!Core::IsRunning())
break;
- // Use default action otherwise
+ // Use default action otherwise
default:
// By default let wxWidgets do what it normally does with this event
@@ -670,14 +670,15 @@ void CFrame::OnResize(wxSizeEvent& event)
// Make sure the logger pane is a sane size
if (!m_code_window && m_log_window && m_mgr->GetPane("Pane 1").IsShown() &&
- !m_mgr->GetPane("Pane 1").IsFloating() && (m_log_window->x > GetClientRect().GetWidth() ||
- m_log_window->y > GetClientRect().GetHeight()))
+ !m_mgr->GetPane("Pane 1").IsFloating() &&
+ (m_log_window->x > GetClientRect().GetWidth() ||
+ m_log_window->y > GetClientRect().GetHeight()))
{
ShowResizePane();
}
}
-// Host messages
+ // Host messages
#ifdef _WIN32
WXLRESULT CFrame::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
@@ -735,7 +736,7 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
case IDM_UPDATE_DISASM_DIALOG: // For breakpoints causing pausing
if (!m_code_window || Core::GetState() != Core::State::Paused)
return;
- // fallthrough
+ // fallthrough
case IDM_UPDATE_GUI:
UpdateGUI();