removed redundant check

fixed superfluous ';' bug
This commit is contained in:
thrust26 2019-12-15 17:40:32 +01:00
parent ebbfc258a6
commit 0a4143768a
2 changed files with 2 additions and 3 deletions

View File

@ -267,8 +267,7 @@ string RewindManager::saveAllStates()
out.putString(state.message);
out.putLong(state.cycles);
if (i < numStates)
unwindStates(1);
unwindStates(1);
}
// restore old state position
rewindStates(numStates - curIdx);

View File

@ -583,7 +583,7 @@ void DeveloperDialog::addDebuggerTab(const GUI::Font& font)
#if defined(DEBUGGER_SUPPORT) && defined(WINDOWED_SUPPORT)
// Debugger is only realistically available in windowed modes 800x600 or greater
// (and when it's actually been compiled into the app)
if(ds.w < 800 || ds.h < 600); // TODO - maybe this logic can disappear?
if(ds.w < 800 || ds.h < 600) // TODO - maybe this logic can disappear?
{
myDebuggerWidthSlider->clearFlags(Widget::FLAG_ENABLED);
myDebuggerHeightSlider->clearFlags(Widget::FLAG_ENABLED);