mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-24 10:32:32 +00:00
more style fixes
This commit is contained in:
parent
ed28705ee3
commit
66ff591aa3
@ -386,7 +386,7 @@ static NSData *ConvertToMacTEXTAndStyl(NSAttributedString *aStr, NSData **outSty
|
||||
const NSUInteger charLimit = 32 * 1024;
|
||||
const NSUInteger elementLimit = 1601;
|
||||
|
||||
if([aStr length] > charLimit) {
|
||||
if ([aStr length] > charLimit) {
|
||||
aStr = [aStr attributedSubstringFromRange:NSMakeRange(0, charLimit)];
|
||||
}
|
||||
|
||||
@ -721,7 +721,7 @@ void GetScrap(void **handle, uint32 type, int32 offset)
|
||||
|
||||
ZeroMacClipboard();
|
||||
|
||||
if(stylData)
|
||||
if (stylData)
|
||||
WriteDataToMacClipboard(stylData, TYPE_STYL);
|
||||
|
||||
WriteDataToMacClipboard(textData, TYPE_TEXT);
|
||||
|
Loading…
Reference in New Issue
Block a user