diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index d3fe7a68..356c0291 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -2781,12 +2781,6 @@ int main(int argc, char* argv[]) { LOG_MSG("Copyright 2002-2020 DOSBox Team, published under GNU GPL."); LOG_MSG("---"); - /* Init SDL */ - /* Or debian/ubuntu with older libsdl version as they have done this themselves, but then differently. - * with this variable they will work correctly. I've only tested the 1.2.14 behaviour against the windows version - * of libsdl - */ - putenv(const_cast("SDL_DISABLE_LOCK_KEYS=1")); if (SDL_Init_Wrapper() < 0) E_Exit("Can't init SDL %s", SDL_GetError()); sdl.inited = true;