Thanks Georg, maybe another solution would be not to encode the
sendActionMask at all, since it's never decoded :-)

Anyway, thanks for the fix, I applied it to CVS

> Hi,
> 
> here is a patch for model archiving (nib2gmodel) which fixes the encoding of  
> [NSCell isContinuous] (and -sendActionMask:).
> The actionMask is now restored after reading (and nullifying) it with sendActionOn:0.
> This change makes sure the values are still valid, when written in the second pass.
> [...]
>       [archiver encodeBOOL:[self isSelectable] withName:@"isSelectable"];
>       [archiver encodeBOOL:[self isScrollable] withName:@"isScrollable"];
>       [archiver encodeBOOL:[self isContinuous] withName:@"isContinuous"];
> !     actionMask = [self sendActionOn:0];
> !     [archiver encodeInt:actionMask withName:@"sendActionMask"];
> !     [self sendActionOn:actionMask];
>   }
> 
>   - (id)initWithModelUnarchiver:(GMUnarchiver*)unarchiver


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to