X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Finsdelln.c;h=c82452bac8a9afdeb8d95c7e708d14473acb8977;hb=92e187a3459ab7ce1613a3684ca6642447c73620;hp=32a4aab8f9d68e886d300220157971c4ca3303d7;hpb=11dead39816318fe9601e27756b9497caf7ff490;p=ncurses.git diff --git a/test/insdelln.c b/test/insdelln.c index 32a4aab8..c82452ba 100644 --- a/test/insdelln.c +++ b/test/insdelln.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2008,2009 Free Software Foundation, Inc. * + * Copyright (c) 2008-2009,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: insdelln.c,v 1.3 2009/08/29 18:47:26 tom Exp $ + * $Id: insdelln.c,v 1.4 2010/05/01 19:11:55 tom Exp $ * * test-driver for deleteln, wdeleteln, insdelln, winsdelln, insertln, winsertln */ @@ -224,7 +224,7 @@ show_help(WINDOW *win) getmaxyx(win, y_max, x_max); for (row = 0; row < (int) SIZEOF(table) && row < y_max; ++row) { - mvwprintw(win, row, 0, "%.*s", x_max, table[row]); + MvWPrintw(win, row, 0, "%.*s", x_max, table[row]); } while (wgetch(win) != 'q') beep();