Xcode 11 compile fix.

meow-7.2.2
Tonya Souther 2019-09-28 18:51:04 -05:00
parent bd97b2b9f1
commit c0834a7c4c
1 changed files with 6 additions and 2 deletions

View File

@ -837,7 +837,9 @@ attributedStringInfo getSegments(NSAttributedString *str)
[super setMarkedText:aString selectedRange:selectedRange replacementRange:replacementRange];
if ([aString length] == 0) // this means Input Widow becomes empty
{
[_window orderOut:_window]; // Close this to avoid empty Input Window
//[_window orderOut:_window]; // Close this to avoid empty Input Window
// <FS:TS> Xcode 11 compile fix
[self.window orderOut:self.window]; // Close this to avoid empty Input Window
}
}
@ -861,7 +863,9 @@ attributedStringInfo getSegments(NSAttributedString *str)
(mKeyPressed >= 0xF700 && mKeyPressed <= 0xF8FF))
{
// this is case a) of above comment
[_window orderOut:_window]; // to avoid empty Input Window
// <FS:TS> Xcode 11 compile fix
//[_window orderOut:_window]; // to avoid empty Input Window
[self.window orderOut:self.window]; // to avoid empty Input Window
}
}