summaryrefslogtreecommitdiff
path: root/src/ui/inputwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/inputwidget.c')
-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 690107a2..f1b21922 100644
--- a/src/ui/inputwidget.c
+++ b/src/ui/inputwidget.c
@@ -542,8 +542,10 @@ static int contentHeight_InputWidget_(const iInputWidget *d) {
542} 542}
543 543
544static void updateTextInputRect_InputWidget_(const iInputWidget *d) { 544static void updateTextInputRect_InputWidget_(const iInputWidget *d) {
545#if !defined (iPlatformAppleMobile)
545 const iRect bounds = bounds_Widget(constAs_Widget(d)); 546 const iRect bounds = bounds_Widget(constAs_Widget(d));
546 SDL_SetTextInputRect(&(SDL_Rect){ bounds.pos.x, bounds.pos.y, bounds.size.x, bounds.size.y }); 547 SDL_SetTextInputRect(&(SDL_Rect){ bounds.pos.x, bounds.pos.y, bounds.size.x, bounds.size.y });
548#endif
547} 549}
548 550
549static void updateMetrics_InputWidget_(iInputWidget *d) { 551static void updateMetrics_InputWidget_(iInputWidget *d) {