mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:50:40 +00:00
Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4741 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8bd717067e
commit
8edf3a229f
3 changed files with 18 additions and 6 deletions
|
@ -1153,7 +1153,7 @@ Ghiradelli chocolate to he who puts all the pieces together :) */
|
|||
|
||||
for (i=0;i<[lines count];i++)
|
||||
{
|
||||
NSRect aRect, *bRect;
|
||||
NSRect aRect, bRect;
|
||||
float padding = [aContainer lineFragmentPadding];
|
||||
NSRange ourRange;
|
||||
|
||||
|
@ -1175,9 +1175,10 @@ intValue]);
|
|||
|
||||
// ask our textContainer to fix our lineFragment.
|
||||
|
||||
secondProposedRect = [aContainer lineFragmentRectForProposedRect:firstProposedRect
|
||||
sweepDirection: NULL
|
||||
movementDirection: NULL
|
||||
secondProposedRect = [aContainer
|
||||
lineFragmentRectForProposedRect: firstProposedRect
|
||||
sweepDirection: NSLineSweepLeft
|
||||
movementDirection: NSLineMoveLeft
|
||||
remainingRect: &bRect];
|
||||
|
||||
// set the line fragmentRect for this range.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue