summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/inputwidget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c
index bd6927a6..51d62125 100644
--- a/src/ui/inputwidget.c
+++ b/src/ui/inputwidget.c
@@ -1728,6 +1728,9 @@ static iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) {
1728 case SDLK_a: 1728 case SDLK_a:
1729#if defined (iPlatformApple) 1729#if defined (iPlatformApple)
1730 if (mods == KMOD_PRIMARY) { 1730 if (mods == KMOD_PRIMARY) {
1731#else
1732 if (mods == (KMOD_PRIMARY | KMOD_SHIFT)) {
1733#endif
1731 selectAll_InputWidget(d); 1734 selectAll_InputWidget(d);
1732 d->mark.start = 0; 1735 d->mark.start = 0;
1733 d->mark.end = cursorToIndex_InputWidget_(d, curMax); 1736 d->mark.end = cursorToIndex_InputWidget_(d, curMax);
@@ -1736,7 +1739,6 @@ static iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) {
1736 refresh_Widget(w); 1739 refresh_Widget(w);
1737 return iTrue; 1740 return iTrue;
1738 } 1741 }
1739#endif
1740 /* fall through for Emacs-style Home/End */ 1742 /* fall through for Emacs-style Home/End */
1741 case SDLK_e: 1743 case SDLK_e:
1742 if (mods == KMOD_CTRL || mods == (KMOD_CTRL | KMOD_SHIFT)) { 1744 if (mods == KMOD_CTRL || mods == (KMOD_CTRL | KMOD_SHIFT)) {