> ISTR that the value is (or was) interpreted as octal if it started > with a zero. Maybe this was by design, and maybe this was "fixed" > (i.e. changed) in FLTK 1.3, but I don't know for sure.
Looking at the source, it uses strtol(t.input.value(), 0, 0);, which, since it uses a base of 0 will interpret a leading 0 as meaning octal. The behaviour in fltk-1.3 seems to be the same... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

