Martin,

Which test in Initialize() is wrong, and what should it be ?
(Save us the search if you already have an answer for that one.)

        Danny

Martin Simmons wrote:
> When setting the XmNvalue resource of an XmText, the underlying value doesn't
> change if the same pointer is passed repeatedly, even if the text it points to
> has changed.
> 
> The problem is that SetValues() in Text.c is capturing the caller's pointer and
> comparing it for subsequent settings.  I also see that Initialize() spuriously
> attempts to free this pointer (but luckily the test in the if is wrong, so it
> never actually happens!).

-- 
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page :     http://users.skynet.be/danny.backx
Projects:       LessTif (http://www.lesstif.org)
                Oleo    (http://www.gnu.org/software/oleo/oleo.html)
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to