X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Flrtest.c;h=da12034ce0836a0b596c937de0a29ca80757f5c8;hp=e40b0c1f1c9fcabe05916a811c3c14d43a096476;hb=a0bb9c404174926bf131a5989a0524a6eecd09eb;hpb=027ae42953e3186daed8f3882da73de48291b606;ds=sidebyside diff --git a/test/lrtest.c b/test/lrtest.c index e40b0c1f..da12034c 100644 --- a/test/lrtest.c +++ b/test/lrtest.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. * + * Copyright (c) 1998-2005,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 * @@ -34,7 +34,7 @@ * This can't be part of the ncurses test-program, because ncurses rips off the * bottom line to do labels. * - * $Id: lrtest.c,v 1.21 2005/12/31 16:51:53 tom Exp $ + * $Id: lrtest.c,v 1.22 2010/05/01 19:11:55 tom Exp $ */ #include @@ -51,7 +51,7 @@ typedef struct { static void show(MARK *m) { - mvaddch(m->y, m->x, m->value); + MvAddCh(m->y, m->x, m->value); if (m->mode == 0) { /* along the x-direction */ m->x += m->inc; if (m->x >= COLS) {