mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:50:37 +00:00
* Source/NSStringDrawing.m(is_size_match): Disable matches
where one has size information, but the other hasn't. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35935 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
003dcb8149
commit
8dcdf0e34b
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-01-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSStringDrawing.m(is_size_match): Disable matches
|
||||||
|
where one has size information, but the other hasn't.
|
||||||
|
|
||||||
2012-12-31 Fred Kiefer <FredKiefer@gmx.de>
|
2012-12-31 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSView.m (-_rebuildCoordinates): Check if the flipped
|
* Source/NSView.m (-_rebuildCoordinates): Check if the flipped
|
||||||
|
|
|
@ -167,9 +167,9 @@ static inline BOOL is_size_match(cache_t *c, int hasSize, NSSize size)
|
||||||
{
|
{
|
||||||
if ((!c->hasSize && !hasSize) ||
|
if ((!c->hasSize && !hasSize) ||
|
||||||
(c->hasSize && hasSize && c->givenSize.width == size.width
|
(c->hasSize && hasSize && c->givenSize.width == size.width
|
||||||
&& c->givenSize.height == size.height) ||
|
&& c->givenSize.height == size.height) /* ||
|
||||||
(!c->hasSize && hasSize && size.width >= NSMaxX(c->usedRect)
|
(!c->hasSize && hasSize && size.width >= NSMaxX(c->usedRect)
|
||||||
&& size.height >= NSMaxY(c->usedRect)))
|
&& size.height >= NSMaxY(c->usedRect))*/)
|
||||||
{
|
{
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue