Re: Browser-Bug?

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Fri, 25 Apr 1997 22:39:23 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

From: Andreas Schlechte <andreas.schlechte@tu-clausthal.de>

>To get the selected string, I use
> fl_get_browser_line(obj,fl_get_browser(obj))
>But if no line is selected, fl_get_browser returns 0.
>fl_get_browser_line called with 0 produces a segmentation fault.
>I think the default should be to return NULL.

I think fl_get_browser_line does return null if the requested
line is illegal. Core dumping you see might be due to
some other problems.
_________________________________________________
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/xforms-archive/