X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fdots_xcurses.c;h=3ccdea37a06456cb48bed467b172b25e62f97d17;hb=f3248e45b92cf48712e30ff94a3a34ce94d6c6bf;hp=d8fe80319307d3c1525a8e6ca45035aa8b7d9299;hpb=790a85dbd4a81d5f5d8dd02a44d84f01512ef443;p=ncurses.git diff --git a/test/dots_xcurses.c b/test/dots_xcurses.c index d8fe8031..3ccdea37 100644 --- a/test/dots_xcurses.c +++ b/test/dots_xcurses.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2019,2020 Thomas E. Dickey * + * Copyright 2018-2020,2022 Thomas E. Dickey * * Copyright 2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -30,13 +30,13 @@ /* * Author: Thomas E. Dickey * - * $Id: dots_xcurses.c,v 1.23 2020/05/29 23:04:02 tom Exp $ + * $Id: dots_xcurses.c,v 1.25 2022/04/16 18:27:24 tom Exp $ * * A simple demo of the wide-curses interface used for comparison with termcap. */ #include -#if !defined(_WIN32) +#if !defined(_NC_WINDOWS) #include #endif @@ -193,6 +193,7 @@ main(int argc, char *argv[]) } } + setlocale(LC_ALL, ""); srand((unsigned) time(0)); SetupAlarm(r_option);