mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
fix decoding bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12117 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9f924be488
commit
c5b6fc310b
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-01-15 Ludovic Marcotte <ludovic@Sophos.ca>
|
||||
|
||||
* Source/NSParagraphStyle.m ([NSParagraphStyle -encodeWithCoder:])
|
||||
fixed the index used for our locations and type arrays from
|
||||
count to it.
|
||||
|
||||
2002-01-15 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSApplication.m (-finishLaunching): Make main menu key
|
||||
|
|
|
@ -335,8 +335,8 @@ static NSParagraphStyle *defaultStyle = nil;
|
|||
{
|
||||
NSTextTab *tab = [_tabStops objectAtIndex: i];
|
||||
|
||||
locations[count] = [tab location];
|
||||
types[count] = [tab tabStopType];
|
||||
locations[i] = [tab location];
|
||||
types[i] = [tab tabStopType];
|
||||
}
|
||||
[aCoder encodeArrayOfObjCType: @encode(float)
|
||||
count: count
|
||||
|
|
Loading…
Reference in a new issue