>   Yes, you are right!
> FLUID in Linux shows "lbl1^M^Jlbl2".
> Removing the ^M (with the Linux fluid) fixed it and both 
> versions work 
> nice, now.
> (Is it a bug in the Windows FLUID, that it internally replaces a ^J 
> with  ^M^J?)
> THNX


Possibly a bug, not sure - the Win32 file system has a nasty habit of
doing that (LF to CRLF conversion on the fly) to any file you save in
"text" mode, whether you want it to or not, so fluid should maybe always
store it's files in "binary" mode to avoid that, I guess. Not sure.

Please file an STR so that we don't forget to investigate this...

Anyone else have a view on this?



> Am 23.02.2011 15:59, schrieb MacArthur, Ian (SELEX GALILEO, UK):
> >> I would like to label a square button with a double line. So
> >> I specified in FLUID the label with "lbl1^Jlbl2" and get in
> >> Windows what I wish:
> >> +--------+
> >> |  lbl1  |
> >> |  lbl2  |
> >> +--------+
> >>
> >> but in Linux I get:
> >>
> >> +--------+
> >> | lbl1^M |
> >> | lbl2   |
> >> +--------+
> >>
> >> Where does the ^M come from ?
> > Did you edit the file on windows?
> > If so, on saving, the system (possibly the editor) might silently
> > convert bare LF's in LF/CR pairs - It probably thinks it is helping
> > you...
> > The ^M is the CR of course.
> >
> > Or maybe there is some other reason?
> >
> >
> >
> > 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
> >
> 
> _______________________________________________
> fltk mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk
> 
> 

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to