diff options
Diffstat (limited to 'gui/editable.cpp')
-rw-r--r-- | gui/editable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/editable.cpp b/gui/editable.cpp index 3260f2cb52..f39428ea20 100644 --- a/gui/editable.cpp +++ b/gui/editable.cpp @@ -151,7 +151,7 @@ void EditableWidget::drawCaret(bool erase) { if (y < 0 || y + editRect.height() - 2 >= _h) return; - + x += getAbsX(); y += getAbsY(); @@ -169,7 +169,7 @@ bool EditableWidget::setCaretPos(int newPos) { bool EditableWidget::adjustOffset() { // check if the caret is still within the textbox; if it isn't, - // adjust _editScrollOffset + // adjust _editScrollOffset int caretpos = getCaretOffset(); const int editWidth = getEditRect().width(); |