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));