From 4622f1b83375cb4c226d82ec0e6cacd5971da3dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ed=C3=AAnis=20Freindorfer=20Azevedo?= Date: Sat, 6 Jul 2019 01:04:32 -0300 Subject: [PATCH] Whitespace fix. --- src/wx/guiinit.cpp | 4 ++-- src/wx/panel.cpp | 4 +--- src/wx/wxvbam.cpp | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/wx/guiinit.cpp b/src/wx/guiinit.cpp index 77ae7871..073ed641 100644 --- a/src/wx/guiinit.cpp +++ b/src/wx/guiinit.cpp @@ -3324,10 +3324,10 @@ bool MainFrame::BindControls() sc = SafeXRCCTRL(d, n); \ sc->SetValidator(wxGenericValidator(&o)); \ } while (0) -#define getsc_uint(n, o) \ +#define getsc_uint(n, o) \ do { \ sc = SafeXRCCTRL(d, n); \ - sc->SetValidator(wxUIntValidator(&o)); \ + sc->SetValidator(wxUIntValidator(&o)); \ } while (0) { // Online Auto Update check frequency diff --git a/src/wx/panel.cpp b/src/wx/panel.cpp index f7743950..a522c69c 100644 --- a/src/wx/panel.cpp +++ b/src/wx/panel.cpp @@ -923,7 +923,7 @@ void GameArea::Pause() // when the game is paused like this, we should not allow any // input to remain pressed, because they could be released - // outside of the game zone and we would not know about it. + // outside of the game zone and we would not know about it. clear_input_press(); if (loaded != IMAGE_UNKNOWN) @@ -2296,12 +2296,10 @@ DXDrawingPanel::DXDrawingPanel(wxWindow* parent, int _width, int _height) : DrawingPanel(parent, _width, _height) { // FIXME: implement - } void DXDrawingPanel::DrawArea(wxWindowDC& dc) { - // FIXME: implement if (!did_init) { DrawingPanelInit(); diff --git a/src/wx/wxvbam.cpp b/src/wx/wxvbam.cpp index 6b41aefc..25665d9f 100644 --- a/src/wx/wxvbam.cpp +++ b/src/wx/wxvbam.cpp @@ -56,9 +56,9 @@ static void get_config_path(wxPathList& path, bool exists = true) if ((wxDirExists(s) && wxIsWritable(s)) || ((!exists || !wxDirExists(s)) && parent.IsDirWritable())) \ path.Add(s); \ } while (0) -#define add_nonstandard_path(p) \ +#define add_nonstandard_path(p) \ do { \ - const wxString& s = p; \ + const wxString& s = p; \ wxFileName parent = wxFileName::DirName(s + wxT("//..")); \ parent.MakeAbsolute(); \ if ((wxDirExists(s) && wxIsWritable(s)) || ((!exists || !wxDirExists(s)) && parent.IsDirWritable())) \