[XForms] Question #2: Relying on menu subitem IDs after fl_delete_menu_item().

Jason Cipriani jason.cipriani at gmail.com
Fri Jul 4 16:46:45 EDT 2008


To subscribers of the xforms list

On Fri, Jul 4, 2008 at 4:37 PM, Jason Cipriani <jason.cipriani at gmail.com> wrote:
> On Fri, Jul 4, 2008 at 6:57 AM, Jens Thoms Toerring <jt at toerring.de> wrote:
>> To get around that you have to change the file lib/menu.c.
>> I append a version for 1.0.90 that hopefully works but I
>> didn't test the changes with that version, just my newer
>> one. Then add to lib/private/menu.h
>
> I've done some more testing with this and uncovered a problem that I
> am about to dig in to a little more.

Unrelated to this issue, I think, in menu.c in the function
fl_set_menu_item_mode (around line 505 for me), there is a bit of code
that reads:

	if ((mode & FL_PUP_CHECK))
	    sp->val = numb;

Should that be this instead?

	if ((mode & FL_PUP_CHECK))
	    sp->val = sp->mval[numb];

Jason
_______________________________________________
To unsubscribe, send any message to
xforms-leave at bob.usuhs.mil or see: 
http://cweblog.usuhs.mil/mailman/listinfo/xforms
List Archive: http://bob.usuhs.mil/pipermail/xforms and
http://bob.usuhs.mil/mailserv/list-archives/
Development: http://savannah.nongnu.org/files/?group=xforms



More information about the Xforms mailing list