X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=test%2Finchs.c;h=93cd4c225ae386917f007bb65dbf16bacd51e39e;hb=c13e57306ae5c4431fddd0fe856c3bcae6aeeb2c;hp=38747a2f39bd2c70162b0b16831a420b99374f3a;hpb=a1aff38c9421e79f92cd4e8ab0587fdf3806cc28;p=ncurses.git diff --git a/test/inchs.c b/test/inchs.c index 38747a2f..93cd4c22 100644 --- a/test/inchs.c +++ b/test/inchs.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: inchs.c,v 1.6 2007/06/09 21:25:06 tom Exp $ + * $Id: inchs.c,v 1.7 2007/06/30 17:50:44 tom Exp $ */ /* chtype inch(void); @@ -96,7 +96,7 @@ test_inchs(int level, char **argv, WINDOW *chrwin, WINDOW *strwin) if ((fp = fopen(argv[level], "r")) != 0) { while ((j = fgetc(fp)) != EOF) { - if (waddch(txtwin, j) != OK) { + if (waddch(txtwin, UChar(j)) != OK) { break; } }