From 4ff76b13920dd75e1b8ee2bfb4db3d65a7f8da7e Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 8 May 2020 14:47:00 +0200 Subject: [PATCH] debug --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 7dc5ab8..e3c996f 100644 --- a/main.c +++ b/main.c @@ -243,7 +243,7 @@ int main() char date[60]; time_t now ; char * locale; -setlocale(LC_ALL,""); +locale = setlocale(LC_ALL,""); locale = setlocale(LC_ALL,NULL); time( &now ); sprintf( date, "%s", ctime(&now));