mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 06:10:59 +00:00
Fix inconsitency in NSScrollView decoding that led to uninitialized
memory being used. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28103 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c65acd8866
commit
70acdf46bd
2 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
* Source/NSOutlineView.m (-drawRow:clipRect:): Changed order of
|
* Source/NSOutlineView.m (-drawRow:clipRect:): Changed order of
|
||||||
expresions in condition to avoid possible access to uninitialized memory.
|
expresions in condition to avoid possible access to uninitialized memory.
|
||||||
|
* Source/NSScrollView.m (-initWithCoder:): Don't set _hasCornerView.
|
||||||
|
|
||||||
2009-03-18 Richard Frith-Macdonald <rfm@gnu.org>
|
2009-03-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -1593,7 +1593,6 @@ static float scrollerWidth;
|
||||||
if ([aDecoder containsValueForKey: @"NSHeaderClipView"])
|
if ([aDecoder containsValueForKey: @"NSHeaderClipView"])
|
||||||
{
|
{
|
||||||
_hasHeaderView = YES;
|
_hasHeaderView = YES;
|
||||||
_hasCornerView = YES;
|
|
||||||
_headerClipView = [aDecoder decodeObjectForKey: @"NSHeaderClipView"];
|
_headerClipView = [aDecoder decodeObjectForKey: @"NSHeaderClipView"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue