mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
NSSplitView, use CGFloat to encode _draggedBarWidth
This commit is contained in:
parent
aae4b5897d
commit
8ac4bf7547
1 changed files with 3 additions and 3 deletions
|
@ -1450,13 +1450,13 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
/*
|
||||
* Encode the rest of the ivar data.
|
||||
*/
|
||||
encode_NSInteger(aCoder, &_draggedBarWidth);
|
||||
[aCoder encodeValueOfObjCType: @encode(CGFloat) at: &_draggedBarWidth];
|
||||
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &_isVertical];
|
||||
|
||||
/*
|
||||
* Encode Divider style
|
||||
*/
|
||||
encode_NSInteger(aCoder, _dividerStyle);
|
||||
encode_NSInteger(aCoder, &_dividerStyle);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1512,7 +1512,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
[aDecoder decodeValueOfObjCType: @encode(id) at: &_dividerColor];
|
||||
|
||||
// Decode non-object data.
|
||||
decode_NSInteger(aDecoder, &_draggedBarWidth);
|
||||
[aDecoder decodeValueOfObjCType: @encode(CGFloat) at: &_draggedBarWidth];
|
||||
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_isVertical];
|
||||
|
||||
if (version >= 1)
|
||||
|
|
Loading…
Reference in a new issue