mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 23:30:46 +00:00
Correct encoding of repeat and delay, since they are encoded as ints.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23227 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
78bbf9e972
commit
59eedc6dac
1 changed files with 2 additions and 2 deletions
|
@ -1489,8 +1489,8 @@ typedef struct _GSButtonCellFlags
|
|||
[aCoder encodeObject: bi forKey: @"NSAlternateImage"];
|
||||
|
||||
// repeat and delay
|
||||
[aCoder encodeFloat: _delayInterval forKey: @"NSPeriodicDelay"];
|
||||
[aCoder encodeFloat: _repeatInterval forKey: @"NSPeriodicInterval"];
|
||||
[aCoder encodeInt: (int)_delayInterval forKey: @"NSPeriodicDelay"];
|
||||
[aCoder encodeInt: (int)_repeatInterval forKey: @"NSPeriodicInterval"];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue