X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Ftest_addwstr.c;h=9e51f49df1490172fb174508c81772710f3dc061;hb=410952f85a313e9ddb6a1d5939dec1b89c8a40f9;hp=aa7bf85746aeb1e6a85ecadb501be277b4ce5ad9;hpb=a09e8b13568e210a03ca4ad64e8552c0edea07c5;p=ncurses.git diff --git a/test/test_addwstr.c b/test/test_addwstr.c index aa7bf857..9e51f49d 100644 --- a/test/test_addwstr.c +++ b/test/test_addwstr.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2020,2022 Thomas E. Dickey * + * Copyright 2020-2022,2023 Thomas E. Dickey * * Copyright 2009-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -27,7 +27,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_addwstr.c,v 1.21 2022/12/10 22:28:50 tom Exp $ + * $Id: test_addwstr.c,v 1.22 2023/05/27 20:13:10 tom Exp $ * * Demonstrate the waddwstr() and wadd_wch functions. * Thomas Dickey - 2009/9/12 @@ -114,7 +114,7 @@ legend(WINDOW *win, int level, Options state, wchar_t *buffer, int length) } static int -ColOf(wchar_t *buffer, int length, int margin) +ColOf(const wchar_t *const buffer, int length, int margin) { int n; int result;