Fixed error in method name.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3382 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-12-04 10:35:51 +00:00
parent b57813676d
commit afaa0ae33a

View file

@ -92,7 +92,7 @@ float sumOfCharacterRange = 0;
font = (NSFont*)[self attribute:NSFontAttributeName
atIndex:NSMaxRange(effectiveRange)
effectiveRange:&effectiveRange];
subString = [self substringFromRange:effectiveRange];
subString = [self attributedSubstringFromRange:effectiveRange];
sumOfCharacterRange += [font widthOfString:subString];
pointSize = MAX([font pointSize], pointSize);
}