diff options
author | notaz | 2012-01-05 00:07:24 +0200 |
---|---|---|
committer | notaz | 2012-01-05 01:41:19 +0200 |
commit | 846b66e185d12bebe95ffa2e905c52ea983f21e1 (patch) | |
tree | f04863d435e9b427a16a010d37a824a4e9d7b856 /frontend/common | |
parent | 5440b88ee29ee5b8929fcf338dfc8f476468514d (diff) | |
download | pcsx_rearmed-846b66e185d12bebe95ffa2e905c52ea983f21e1.tar.gz pcsx_rearmed-846b66e185d12bebe95ffa2e905c52ea983f21e1.tar.bz2 pcsx_rearmed-846b66e185d12bebe95ffa2e905c52ea983f21e1.zip |
frontend: call setlocale to get LC_TIME
Diffstat (limited to 'frontend/common')
-rw-r--r-- | frontend/common/menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/common/menu.c b/frontend/common/menu.c index 9a6a47c..97e365d 100644 --- a/frontend/common/menu.c +++ b/frontend/common/menu.c @@ -13,6 +13,7 @@ #include <stdlib.h>
#include <stdarg.h>
#include <time.h>
+#include <locale.h> // savestate date
#include "menu.h"
#include "fonts.h"
@@ -310,6 +311,9 @@ void menu_init(void) }
fclose(f);
}
+
+ // use user's locale for savestate date display
+ setlocale(LC_TIME, "");
}
static void menu_draw_begin(int need_bg)
|