I have a problem using input filters with Linux-x86 (0.88).
When I type something in the input field,
I get a core dump right after the filter is executed.
Here is what I do:
static int
registration_key_filter(
const char *old,
const char *cur,
int c
)
{
printf("in filter\n");
if (isdigit(c) || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F')) {
return FL_VALID;
} else {
return FL_INVALID | FL_RINGBELL;
}
}
[...]
fl_set_input_filter(Registration->key, registration_key_filter);
Anything wrong with that ?
-t
_________________________________________________
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://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/