diff options
Diffstat (limited to 'gui/ThemeNew.cpp')
| -rw-r--r-- | gui/ThemeNew.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 2cc9aa3ac3..25bf421a1a 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -729,7 +729,7 @@ void ThemeNew::drawCaret(const Common::Rect &r, bool erase, kState state) { if (!_initOk) return; - restoreBackground(Common::Rect(r.left, r.top, r.left+1, r.bottom)); + restoreBackground(r); if (!erase) { _screen.vLine(r.left, r.top, r.bottom, _colors[kCaretColor]); } else if (r.top >= 0) { |
