XForms: fl_add_browser_line(obj, "") bug ?

Tristan Savatier (tristan@mpegtv.com)
Tue, 29 Jul 1997 01:19:12 -0700

To subscribers of the xforms list from Tristan Savatier <tristan@mpegtv.com> :

With 0.86:

According to the manual,
fl_add_browser_line(FL_OBJECT *browser, const char *text)
adds one line to the browser, so I am expecting
fl_add_browser_line(browser, "") to add an empty line
(since I pass an empty string).

In fact, fl_add_browser_line(browser, "") seems to do
nothing at all.

Looks like the only way to add an empty line in a browser
is to do something like:

fl_add_browser_line(browser, " ")

i.e. add a line with a space character.

Looks like a bug to me.

IMHO, fl_add_browser_line(browser, "") should
just add an empty line... or the manual should
warn about this irregularity, if it is
a feature.

What do you think ?

-Tristan
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/