X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdemo_forms.c;h=585ddb90275b176693eb71f5888ed54c6f7a3fec;hp=a1dd592381ff1b2454c1348951a187adc7adf7ff;hb=2e507e7570bd701b27ad8c65adfb612dbc087125;hpb=b802d89ac4a8abdc19fd39ec9bdc9a300c3dd181 diff --git a/test/demo_forms.c b/test/demo_forms.c index a1dd5923..585ddb90 100644 --- a/test/demo_forms.c +++ b/test/demo_forms.c @@ -26,7 +26,7 @@ * 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 @@ -103,7 +103,7 @@ static int 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;