Hi Dave,
In the Motif I'm using to test IUP, it works. But it is newer from yours.
Could be a system limitation that I'm not aware.
In your track down, you can identify aprox. where the program crashes. I
mean it is inside IUP code, or inside Motif/X?
Thanks,
Scuri
From: Dave Atkinson [mailto:[email protected]]
Sent: sexta-feira, 22 de junho de 2012 12:29
To: [email protected]
Subject: [Iup-users] Problem with newline in button title, Solaris 5.8
I've been porting a Lua/IUP application written for Windows and Linux to
Solaris 5.8. I puzzled for quite a long time over the fact that the program
crashed (with a segmentation violation) shortly after the window started to
be drawn. Eventually I tracked the problem down to the use of the newline
character '\n' in a button title. I find that a similar crash will occur if
'\n' is used in a tab's TABTITLE attribute. With the newline character
removed. both button and tab control work as expected.
My environment is Solaris 5.8, Motif 2.1.0, and IUP 3.6 built from recent
CVS sources.
If this is an inherent limitation of the old Solaris or Motif version, it
would probably be good to document the exception; the description of the
button TITLE attribute presently says "The '\n' character is accepted for
line change", and the description of the generic TITLE attribute says "The
'\n' character usually is accepted..."
Dave Atkinson
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users