- enabled sdl's key repetition when holding keys for easier typing in chat mode

This commit is contained in:
Mark Vejvoda 2011-10-03 18:06:50 +00:00
parent ebc130f526
commit 9cb44c72bf

View File

@ -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