From ea9722cd639ec95c3c64c90822525c73f02787af Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Thu, 29 Dec 2016 15:49:10 +0100 Subject: [PATCH] Use local language for printing text. --- RetroFE/Source/Main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RetroFE/Source/Main.cpp b/RetroFE/Source/Main.cpp index 90ae4e1..50b1012 100644 --- a/RetroFE/Source/Main.cpp +++ b/RetroFE/Source/Main.cpp @@ -25,6 +25,7 @@ #include #include #include +#include static bool ImportConfiguration(Configuration *c); static bool StartLogging(); @@ -59,6 +60,9 @@ int main(int argc, char **argv) } } + // Initialize locale language + setlocale( LC_ALL, "" ); + // Initialize random seed srand(static_cast(time(0)));