diff options
Diffstat (limited to 'src/ui/inputwidget.c')
-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 600a4462..dd8fa744 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -377,7 +377,7 @@ iLocalDef size_t cursorMax_InputWidget_(const iInputWidget *d) { | |||
377 | } | 377 | } |
378 | 378 | ||
379 | iLocalDef iBool isMarking_(void) { | 379 | iLocalDef iBool isMarking_(void) { |
380 | return (SDL_GetModState() & KMOD_SHIFT) != 0; | 380 | return (modState_Keys() & KMOD_SHIFT) != 0; |
381 | } | 381 | } |
382 | 382 | ||
383 | void setCursor_InputWidget(iInputWidget *d, size_t pos) { | 383 | void setCursor_InputWidget(iInputWidget *d, size_t pos) { |