diff --git a/src/debugger/DebuggerParser.cxx b/src/debugger/DebuggerParser.cxx index de621faf3..ba772f806 100644 --- a/src/debugger/DebuggerParser.cxx +++ b/src/debugger/DebuggerParser.cxx @@ -756,6 +756,7 @@ void DebuggerParser::executeBreakif() { if(condition == debugger.m6502().getCondBreakNames()[i]) { + args[0] = i; executeDelbreakif(); return; } @@ -1830,6 +1831,7 @@ void DebuggerParser::executeSavestateif() { if(condition == debugger.m6502().getCondSaveStateNames()[i]) { + args[0] = i; executeDelsavestateif(); return; } diff --git a/src/gui/TabWidget.cxx b/src/gui/TabWidget.cxx index 23c556a86..fb55d1096 100644 --- a/src/gui/TabWidget.cxx +++ b/src/gui/TabWidget.cxx @@ -319,7 +319,7 @@ void TabWidget::drawWidget(bool hilite) if(i == _activeTab) { s.hLine(x, _y, x + _tabWidth - 1, kWidColor); - s.vLine(x + _tabWidth, _y + 1, _y + _tabHeight - 1, kBGColorHi); + s.vLine(x + _tabWidth, _y + 1, _y + _tabHeight - 1, kBGColorLo); } else s.hLine(x, _y + _tabHeight, x + _tabWidth, kWidColor); @@ -338,7 +338,7 @@ void TabWidget::drawWidget(bool hilite) #else // fill empty right space s.hLine(x - kTabSpacing + 1, _y + _tabHeight, _x + _w - 1, kWidColor); - s.hLine(_x, _y + _h - 1, _x + _w - 1, kBGColorHi); + s.hLine(_x, _y + _h - 1, _x + _w - 1, kBGColorLo); #endif }