X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Finchs.c;h=93cd4c225ae386917f007bb65dbf16bacd51e39e;hp=38747a2f39bd2c70162b0b16831a420b99374f3a;hb=eb312e0bb90463a33aa8a53f825b32dc189af023;hpb=574a94bc3d70682bde48f7f10d3c12a58e581e27;ds=sidebyside 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; } }