notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5440b88
)
frontend: call setlocale to get LC_TIME
author
notaz
<notasas@gmail.com>
Wed, 4 Jan 2012 22:07:24 +0000
(
00:07
+0200)
committer
notaz
<notasas@gmail.com>
Wed, 4 Jan 2012 23:41:19 +0000
(
01:41
+0200)
frontend/common/menu.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/common/menu.c
b/frontend/common/menu.c
index
9a6a47c
..
97e365d
100644
(file)
--- a/
frontend/common/menu.c
+++ b/
frontend/common/menu.c
@@
-13,6
+13,7
@@
#include <stdlib.h>
\r
#include <stdarg.h>
\r
#include <time.h>
\r
+#include <locale.h> // savestate date
\r
\r
#include "menu.h"
\r
#include "fonts.h"
\r
@@
-310,6
+311,9
@@
void menu_init(void)
}
\r
fclose(f);
\r
}
\r
+
\r
+ // use user's locale for savestate date display
\r
+ setlocale(LC_TIME, "");
\r
}
\r
\r
static void menu_draw_begin(int need_bg)
\r