mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +00:00
Opted to undo the -[NSBezierPath setLineDash:] patch's check for
count > _dash_count, as NSZoneRealloc() should be allowed to reduce the allocated block's size. Additionally, updated ChangeLog. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39287 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d2760ebc1f
commit
0dd7fa30d1
2 changed files with 20 additions and 1 deletions
19
ChangeLog
19
ChangeLog
|
@ -1,3 +1,22 @@
|
|||
2016-01-17 Ivan Vucica <ivan@vucica.net>
|
||||
|
||||
* Source/NSBezierPath.m (-setLineDash:):
|
||||
Cherrypicked r39277 by Marcian Lytwtyn <gna@advcsi.com>: NSZoneRealloc
|
||||
called without saving the return value.
|
||||
|
||||
Aside from merging the patch, opted to undo the patch's check for
|
||||
count > _dash_count, as NSZoneRealloc() should be allowed to reduce the
|
||||
allocated block's size.
|
||||
|
||||
* Source/GSThemeDrawing.m (-drawBoxInClipRect:boxType:...):
|
||||
Cherrypicked r39276 by Paul Landers <paul.landers@testplant.com>:
|
||||
Use controlShadowColor when the color for NSBoxSeparator is not set.
|
||||
Xcode is not setting colors for these types of boxes in xibs.
|
||||
|
||||
* Source/NSToolbar.m (-runCustomizationPalette:):
|
||||
Cherrypicked r39256 by Paul Landers <paul.landers@testplant.com>:
|
||||
Show toolbar before customizing.
|
||||
|
||||
2015-11-19 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Images/common_MultipleSelection.tiff
|
||||
|
|
|
@ -500,7 +500,7 @@ static CGFloat default_miter_limit = 10.0;
|
|||
|
||||
if (_dash_pattern == NULL)
|
||||
_dash_pattern = NSZoneMalloc(myZone, count * sizeof(CGFloat));
|
||||
else if (count > _dash_count)
|
||||
else
|
||||
_dash_pattern = NSZoneRealloc(myZone, _dash_pattern, count * sizeof(CGFloat));
|
||||
|
||||
_dash_count = count;
|
||||
|
|
Loading…
Reference in a new issue