]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/color_content.c
ncurses 6.3 - patch 20220416
[ncurses.git] / test / color_content.c
index 0f619f661e63ff4391b15fb28e6b219bd8edaa67..6ed0ecf2e7323f8ce35c7a9a633b7558c55d4711 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright 2018-2019,2020 Thomas E. Dickey                                *
+ * Copyright 2018-2020,2022 Thomas E. Dickey                                *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: color_content.c,v 1.12 2020/02/02 23:34:34 tom Exp $
+ * $Id: color_content.c,v 1.13 2022/04/16 18:26:40 tom Exp $
  */
 
 #define NEED_TIME_H
@@ -118,6 +118,7 @@ random_color(void)
 static void
 setup_test(void)
 {
+    setlocale(LC_ALL, "");
     initscr();
     cbreak();
     noecho();