bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #22277] KVC should handle common structs like NSSize, NSRect etc.


From: Richard Frith-Macdonald
Subject: [bug #22277] KVC should handle common structs like NSSize, NSRect etc.
Date: Fri, 22 Feb 2008 13:03:16 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.15.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.15

Follow-up Comment #3, bug #22277 (project gnustep):

> Why the return type includes human readable stuff like
> '{_NSRect={_NSPoint=ff}{_NSSize=ff}}' in addition to '12@4:8' for NSRect? 

Good question ... the type information really should not include the size
info at the end ... that's because it's using a pointer into the original
cstring rather than creating a nul terminated string containing just the type
info.

I've changed the code to produce proper nul terminated type strings. 
Hopefully nothing depends on the old behavior.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22277>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]