X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fclip_printw.c;h=dd3d7ee0579cd2353866b8647b0a0a243ffd7ad7;hp=272da7b409c7f801e2f5919b5891106a6b5e39fb;hb=92e187a3459ab7ce1613a3684ca6642447c73620;hpb=3a0d9d27e0cf115ff9dcc6163c251bccaa62bd7d diff --git a/test/clip_printw.c b/test/clip_printw.c index 272da7b4..dd3d7ee0 100644 --- a/test/clip_printw.c +++ b/test/clip_printw.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: clip_printw.c,v 1.5 2009/10/24 21:02:55 tom Exp $ + * $Id: clip_printw.c,v 1.6 2010/05/01 19:13:46 tom Exp $ * * demonstrate how to use printw without wrapping. */ @@ -247,7 +247,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();