X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Flrtest.c;h=0215c2a4fba8f48736dcf88319e7c5775892daa1;hp=ae47b4e74c04197942eea782b6730f10206fb35c;hb=8890c8f28a1db5995ef17f52a7d8c0b9cf574210;hpb=d97989d1e0db7282c723cabb44b991b951790006;ds=sidebyside diff --git a/test/lrtest.c b/test/lrtest.c index ae47b4e7..0215c2a4 100644 --- a/test/lrtest.c +++ b/test/lrtest.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2010,2017 Free Software Foundation, Inc. * + * Copyright (c) 1998-2017,2019 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.24 2017/09/04 11:28:19 tom Exp $ + * $Id: lrtest.c,v 1.25 2019/12/07 18:07:04 tom Exp $ */ #include @@ -148,9 +148,9 @@ main( nodelay(stdscr, TRUE); #ifdef TRACE else if (ch == 'T') - trace(0); + curses_trace(0); else if (ch == 't') - trace(TRACE_CALLS | TRACE_ICALLS | TRACE_UPDATE); + curses_trace(TRACE_CALLS | TRACE_ICALLS | TRACE_UPDATE); #endif #ifdef KEY_RESIZE else if (ch == KEY_RESIZE) {