From 66ff591aa316b4a659dc408dae70e35dc5920677 Mon Sep 17 00:00:00 2001 From: Alexei Svitkine Date: Sat, 30 Jun 2012 22:23:27 -0400 Subject: [PATCH] more style fixes --- BasiliskII/src/MacOSX/clip_macosx64.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/MacOSX/clip_macosx64.mm b/BasiliskII/src/MacOSX/clip_macosx64.mm index 1d906a75..5f2760c8 100644 --- a/BasiliskII/src/MacOSX/clip_macosx64.mm +++ b/BasiliskII/src/MacOSX/clip_macosx64.mm @@ -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);