Skip to content

Commit

Permalink
Oops, reversed the logic of the variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Lantinga committed Jun 23, 2001
1 parent dc29b54 commit f7fdaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11mouse.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit f7fdaba

Please sign in to comment.