diff options
| author | nyamatongwe <unknown> | 2011-07-10 12:17:34 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-07-10 12:17:34 +1000 | 
| commit | a4db0db8ebc3e3a8cb9a18493bd88c99e6537bdd (patch) | |
| tree | f6c6b2b6bc28509102f00ac0dd0560dff8f68377 | |
| parent | 6fe7f8cd0cb14185b04ea532e1ce453f1003b8cb (diff) | |
| download | scintilla-mirror-a4db0db8ebc3e3a8cb9a18493bd88c99e6537bdd.tar.gz | |
Remove unnecessary code.
| -rw-r--r-- | cocoa/PlatCocoa.mm | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 000d5957e..b1de20902 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -944,8 +944,6 @@ static size_t utf8LengthFromLead(unsigned char uch) {  void SurfaceImpl::MeasureWidths(Font &font_, const char *s, int len, int *positions)  {  	CFStringEncoding encoding = EncodingFromCharacterSet(unicodeMode, FontCharacterSet(font_)); -	for (int i = 0; i < len; i++) -		positions [i] = 0;  	textLayout->setText (reinterpret_cast<const UInt8*>(s), len, encoding, *reinterpret_cast<QuartzTextStyle*>(font_.GetID()));  	CTLineRef mLine = textLayout->getCTLine(); | 
