diff --git a/ChangeLog b/ChangeLog index 1e3d8462e..789fdc1c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-20 David Ayers + + * Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding + of isContinuous to insure backward compatiblity of archives. + 2003-03-20 Serg Stoyan * Source/NSMenuView.m diff --git a/Source/NSCell.m b/Source/NSCell.m index 2199653ae..0d42717d7 100644 --- a/Source/NSCell.m +++ b/Source/NSCell.m @@ -1945,7 +1945,10 @@ static NSColor *shadowCol; flag = _cell.is_selectable; [aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag]; // This used to be is_continuous, which has been replaced. - //flag = _cell.is_continuous; + /* Ayers 20.03.2003: But we must continue to encode it for backward + compatibility or current releases will have undefined behavior when + decoding archives (i.e. .gorm files) encoded by this version. */ + flag = [self isContinuous]; [aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag]; flag = _cell.allows_mixed_state; [aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag];