X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fio.c;h=b513f26af4efe625d0cddb238ba06491de6057b7;hp=5c5ac644526dc4c91ba5f9db6be3e20b04fab22f;hb=8700dc6a521fe201815aad02cf05f7f4c297c305;hpb=86f17194d065df99c2079102072cdcb1cfbc2339 diff --git a/src/io.c b/src/io.c index 5c5ac64..b513f26 100644 --- a/src/io.c +++ b/src/io.c @@ -1,10 +1,7 @@ #include #include -#include -#include -#include -#include +#include "config.h" #include "sst.h" #include "sstlinux.h" @@ -34,6 +31,11 @@ static void outro(void) void iostart(void) { + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + gettext(""); + if (!(game.options & OPTION_CURSES)) { rows = atoi(getenv("LINES")); } else {