diff options
-rw-r--r-- | src/ui/inputwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 50b12d1f..2ca9bd55 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -1681,7 +1681,7 @@ static iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) { | |||
1681 | setCursor_InputWidget(d, key == SDLK_HOME ? zero_I2() : curMax); | 1681 | setCursor_InputWidget(d, key == SDLK_HOME ? zero_I2() : curMax); |
1682 | } | 1682 | } |
1683 | else { | 1683 | else { |
1684 | setCursor_InputWidget(d, key == SDLK_HOME ? lineFirst : lineLast); | 1684 | moveCursorByLine_InputWidget_(d, 0, key == SDLK_HOME ? -1 : +1); |
1685 | } | 1685 | } |
1686 | refresh_Widget(w); | 1686 | refresh_Widget(w); |
1687 | return iTrue; | 1687 | return iTrue; |