blob: 1f4beb5b002a4856bd38818a0c40f31f12c93e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
Bug: https://bugs.gentoo.org/896006
--- a/main.cc
+++ b/main.cc
@@ -36,6 +36,7 @@
#include <libintl.h>
#include <sys/types.h>
#include <dirent.h>
+#include <locale.h>
#endif
static void printhelp(void) {
--- a/keyb.cc
+++ b/keyb.cc
@@ -215,7 +215,7 @@ void key_keydatas(SDLKey &sdlkey, ttkey &tkey, char &ch) {
SDLKey key_conv2sdlkey(ttkey k, bool game) {
- register int i;
+ int i;
if (game) {
for (i = SIZE(ttkeyconv) - 1; i >= 0; i--)
@@ -231,7 +231,7 @@ SDLKey key_conv2sdlkey(ttkey k, bool game) {
}
ttkey key_sdlkey2conv(SDLKey k, bool game) {
- register int i;
+ int i;
if (k != SDLK_UNKNOWN) {
if (game) {
|