mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Fix error updating dynamic services
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29768 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d3c4c5b0c7
commit
b26c2b4df6
3 changed files with 17 additions and 2 deletions
|
@ -845,7 +845,7 @@ has the same y origin and height as the line frag rect it is in.
|
|||
cindex == [_textStorage length], in which case we set it to 1. */
|
||||
if (fraction_through == 1.0)
|
||||
{
|
||||
r = lf->used_rect;
|
||||
r = (lf == 0) ? NSZeroRect : lf->used_rect;
|
||||
r.origin.x += r.size.width;
|
||||
r.size.width = 1;
|
||||
return r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue