# To subscribers of the xforms list from Rob Lahaye <lahaye@snu.ac.kr> :
Hi,
The way fdesign writes the FL_PUP_ENTRY choice button entries, causes heaps
of warnings, because it does not fill in values for all members in the struct.
This is remedied in the following patch:
--- fdesign/sp_menu.c Thu Jun 6 02:54:22 2002
+++ fdesign/sp_menu.c Thu Aug 29 11:22:29 2002
@@ -164,13 +164,14 @@
for (i = 1; i <= sp->nlines; i++)
{
- fprintf(fp, " { \"%s\",\t0,\t\"%s\",\t %s},\n",
+ fprintf(fp, " { \"%s\",\t0,\t\"%s\",\t %s,\t %s},\n",
sp->content[i], sp->shortcut[i] ? sp->shortcut[i] : "",
- get_pupmode_name(sp->mode[i]));
+ get_pupmode_name(sp->mode[i]),
+ "{0L, 0L}");
}
/* sentinel */
- fprintf(fp, " {0}\n};\n\n");
+ fprintf(fp, " {NULL, 0, NULL, 0, {0L, 0L}}\n};\n\n");
}
/* emit header info that is global in nature */
Please apply for 1.0.0rc5!
Thanks,
Rob.
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Wed Aug 28 2002 - 22:42:31 EDT