X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest_getstr.c;h=0910a041e42b53eb50ad0fd12b3d0ea041851658;hp=bb1c12656fcbbebda53fa0a5e840337d076bd23c;hb=cf6a62567b2365c8678b7d561845bdbd1739e5da;hpb=b22573b1ba4b51da883fa5f805b52f153fa5fae9 diff --git a/test/test_getstr.c b/test/test_getstr.c index bb1c1265..0910a041 100644 --- a/test/test_getstr.c +++ b/test/test_getstr.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2007-2012,2017 Free Software Foundation, Inc. * + * Copyright 2020 Thomas E. Dickey * + * Copyright 2007-2012,2017 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 +27,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_getstr.c,v 1.12 2017/07/01 20:34:55 tom Exp $ + * $Id: test_getstr.c,v 1.14 2020/02/02 23:34:34 tom Exp $ * * Author: Thomas E Dickey * @@ -87,14 +88,14 @@ Remainder(WINDOW *txtwin) static void ShowPrompt(WINDOW *txtwin, int limit) { - wchgat(txtwin, limit, A_REVERSE, 0, NULL); + wchgat(txtwin, limit, WA_REVERSE, 0, NULL); wnoutrefresh(txtwin); } static void MovePrompt(WINDOW *txtwin, int limit, int y, int x) { - wchgat(txtwin, Remainder(txtwin), A_NORMAL, 0, NULL); + wchgat(txtwin, Remainder(txtwin), WA_NORMAL, 0, NULL); wmove(txtwin, y, x); ShowPrompt(txtwin, limit); }