diff options
Diffstat (limited to 'backends/platform/iphone/iphone_keyboard.m')
-rw-r--r-- | backends/platform/iphone/iphone_keyboard.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/iphone/iphone_keyboard.m b/backends/platform/iphone/iphone_keyboard.m index ba19773a34..53c7376745 100644 --- a/backends/platform/iphone/iphone_keyboard.m +++ b/backends/platform/iphone/iphone_keyboard.m @@ -46,8 +46,8 @@ self = [super initWithFrame:CGRectMake(0.0f, 0.0f, 0.0f, 0.0f)]; softKeyboard = keyboard; - [[self textInputTraits] setAutocorrectionType:1]; - [[self textInputTraits] setAutocapitalizationType:0]; + [[self textInputTraits] setAutocorrectionType:(UITextAutocorrectionType)1]; + [[self textInputTraits] setAutocapitalizationType:(UITextAutocapitalizationType)0]; [[self textInputTraits] setEnablesReturnKeyAutomatically:NO]; return self; |