Skip to content
Permalink
Browse files

Oops, reversed the logic of the variable

  • Loading branch information
Sam Lantinga committed Jun 23, 2001
1 parent dc29b54 commit f7fdabaea206eb9e19a7d87af05e8a282ae8ad1b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11mouse.c
@@ -236,7 +236,7 @@ void X11_CheckMouseModeNoLock(_THIS)
They almost never want to do this, as it seriously affects
applications that rely on continuous relative mouse motion.
*/
env_override = getenv("SDL_MOUSE_NORELATIVE");
env_override = getenv("SDL_MOUSE_RELATIVE");
if ( env_override ) {
enable_relative = atoi(env_override);
}

0 comments on commit f7fdaba

Please sign in to comment.