mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
OSX server launcher fix
This commit is contained in:
parent
fa02f461c7
commit
3da600dc33
|
@ -28,12 +28,10 @@
|
|||
NSString *string = [[NSString alloc] initWithData: data encoding: NSASCIIStringEncoding];
|
||||
NSAttributedString *attrstr = [[NSAttributedString alloc] initWithString: string];
|
||||
|
||||
[[self textStorage] beginEditing];
|
||||
[[self textStorage] appendAttributedString: attrstr];
|
||||
int length = [[self textStorage] length];
|
||||
NSRange range = NSMakeRange(length, 0);
|
||||
[self scrollRangeToVisible: range];
|
||||
[[self textStorage] endEditing];
|
||||
|
||||
[attrstr release];
|
||||
[string release];
|
||||
|
|
Loading…
Reference in a new issue