summary refs log tree commit diff homepage
path: root/play.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-19 04:01:39 +0000
committerJune McEnroe <june@causal.agency>2021-04-19 04:01:39 +0000
commit89a0ffa1ba96e412d35009aca6e1fd336272f9ff (patch)
tree48575b5f52b5f38f051e23096c3030622809330e /play.c
parentAdd freecell (diff)
downloadplay-89a0ffa1ba96e412d35009aca6e1fd336272f9ff.tar.gz
play-89a0ffa1ba96e412d35009aca6e1fd336272f9ff.zip
Force UTF-8 locale and add to chroot, link to cursesw
Diffstat (limited to 'play.c')
-rw-r--r--play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.c b/play.c
index b895e9e..345dcd1 100644
--- a/play.c
+++ b/play.c
@@ -266,7 +266,7 @@ static void info(void) {
 }
 
 int main(int argc, char *argv[]) {
-	setlocale(LC_CTYPE, "");
+	setlocale(LC_CTYPE, "en_US.UTF-8");
 	atexit(info);
 
 	const char *path = NULL;