Skip to content

Commit

Permalink
Whitespace fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
denisfa authored and rkitover committed Jul 25, 2019
1 parent 3dc738b commit 4622f1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/wx/guiinit.cpp
Expand Up @@ -3324,10 +3324,10 @@ bool MainFrame::BindControls()
sc = SafeXRCCTRL<wxSpinCtrl>(d, n); \
sc->SetValidator(wxGenericValidator(&o)); \
} while (0)
#define getsc_uint(n, o) \
#define getsc_uint(n, o) \
do { \
sc = SafeXRCCTRL<wxSpinCtrl>(d, n); \
sc->SetValidator(wxUIntValidator(&o)); \
sc->SetValidator(wxUIntValidator(&o)); \
} while (0)
{
// Online Auto Update check frequency
Expand Down
4 changes: 1 addition & 3 deletions src/wx/panel.cpp
Expand Up @@ -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)
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions src/wx/wxvbam.cpp
Expand Up @@ -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())) \
Expand Down

0 comments on commit 4622f1b

Please sign in to comment.