Ticket #2509: TextView.cpp.2509c.diff
File TextView.cpp.2509c.diff, 796 bytes (added by , 16 years ago) |
---|
-
src/kits/interface/TextView.cpp
3229 3229 fStyles->Iterate(fromOffset, 1, fInline, NULL, NULL, outAscent, 3230 3230 outDescent); 3231 3231 } else { 3232 if (fStyles->IsValidNullStyle()) { 3233 const BFont *font = NULL; 3234 fStyles->GetNullStyle(&font, NULL); 3232 const BFont *font = NULL; 3233 fStyles->GetNullStyle(&font, NULL); 3235 3234 3236 font_height fh; 3237 font->GetHeight(&fh); 3238 *outAscent = fh.ascent; 3239 *outDescent = fh.descent + fh.leading; 3240 } 3235 font_height fh; 3236 font->GetHeight(&fh); 3237 *outAscent = fh.ascent; 3238 *outDescent = fh.descent + fh.leading; 3241 3239 } 3242 3240 3243 3241 return limit;