aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
diff options
context:
space:
mode:
authorJohannes Schickel2013-11-23 23:49:26 +0100
committerJohannes Schickel2013-11-24 00:15:48 +0100
commite036aa76da22bbc9cc48d012469d2bad46018ff8 (patch)
treeb9f3f1b46cfcf3d64d00c336a0e50f914e59b7f1 /gui/widgets
parent129e891a875ad2df269e2b4b18bae7e2d2e57208 (diff)
downloadscummvm-rg350-e036aa76da22bbc9cc48d012469d2bad46018ff8.tar.gz
scummvm-rg350-e036aa76da22bbc9cc48d012469d2bad46018ff8.tar.bz2
scummvm-rg350-e036aa76da22bbc9cc48d012469d2bad46018ff8.zip
GUI: Fix EditTextWidget::getEditRect's returned height.
Diffstat (limited to 'gui/widgets')
-rw-r--r--gui/widgets/edittext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/edittext.cpp b/gui/widgets/edittext.cpp
index 52527effd8..c54ca573ba 100644
--- a/gui/widgets/edittext.cpp
+++ b/gui/widgets/edittext.cpp
@@ -101,7 +101,7 @@ void EditTextWidget::drawWidget() {
}
Common::Rect EditTextWidget::getEditRect() const {
- Common::Rect r(2 + _leftPadding, 2, _w - 2 - _leftPadding - _rightPadding, _h - 1);
+ Common::Rect r(2 + _leftPadding, 2, _w - 2 - _leftPadding - _rightPadding, _h);
return r;
}