> >Richard,
> >
> >Can you show us a minimal worked example, please - I'm not sure I'm
> >grasping what you are doing with the entries() method...
> >
> >Something complete enough to compile, if possible, as that 
> makes it more
> >likely someone will have time to investigate!
> 
> Here is a small program and perfs file that demonstrates the problem.

I assume you mean "prefs" rather than "perfs" here? I think if you use
"perfs" for the file extension it *really* will not work.

Anyway, how did you create that prefs file? Was it hand-edited? (I guess
it must have been.)

I think the problem is that (and I have not checked the code) the
problem is that Fl_Preferences does not handle comments within a group,
so the count is thrown. Matt would be the expert of Fl_Preferences
matters.

Although the prefs files are flat ASCII text, they are "conceptually"
opaque, so editing them by hand and adding comments might be a fragile
and unsupported activity.

That said, you should probably file an STR for this, just to ensure it
is flagged. Maybe it'll get fixed...

As a slight aside, the behaviour (though "wrong") is consistent, in that
fltk1.3 and fltk1.1 behave in the same fashion...)



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

Reply via email to