* authorization. *
****************************************************************************/
/*
- * $Id: demo_forms.c,v 1.44 2013/06/08 15:21:26 tom Exp $
+ * $Id: demo_forms.c,v 1.45 2013/09/21 22:51:50 tom Exp $
*
* Demonstrate a variety of functions from the form library.
* Thomas Dickey - 2003/4/26
trimmed(const char *value)
{
int result = (int) strlen(value);
- while (result > 0 && isspace(value[result - 1])) {
+ while (result > 0 && isspace(UChar(value[result - 1]))) {
--result;
}
return result;