mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 20:22:31 +01:00
- enabled sdl's key repetition when holding keys for easier typing in chat mode
This commit is contained in:
parent
ebc130f526
commit
9cb44c72bf
@ -287,10 +287,11 @@ bool hasCommandArgument(int argc, char** argv,const string argName, int *foundIn
|
||||
std::cerr << "Couldn't initialize SDL: " << SDL_GetError() << "\n"; \
|
||||
return 1; \
|
||||
} \
|
||||
} \
|
||||
SDL_EnableUNICODE(1); \
|
||||
int result = X(argc, argv); \
|
||||
return result; \
|
||||
} \
|
||||
SDL_EnableUNICODE(1); \
|
||||
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL); \
|
||||
int result = X(argc, argv); \
|
||||
return result; \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user