comparison src/video/x11/SDL_x11mouse.c @ 80:8806bc1eb80e

Oops, reversed the logic of the variable
author Sam Lantinga <slouken@lokigames.com>
date Sat, 23 Jun 2001 22:02:27 +0000
parents ffadd05de74d
children e8157fcb3114
comparison
equal deleted inserted replaced
79:ffadd05de74d 80:8806bc1eb80e
234 234
235 /* Allow the user to override the relative mouse mode. 235 /* Allow the user to override the relative mouse mode.
236 They almost never want to do this, as it seriously affects 236 They almost never want to do this, as it seriously affects
237 applications that rely on continuous relative mouse motion. 237 applications that rely on continuous relative mouse motion.
238 */ 238 */
239 env_override = getenv("SDL_MOUSE_NORELATIVE"); 239 env_override = getenv("SDL_MOUSE_RELATIVE");
240 if ( env_override ) { 240 if ( env_override ) {
241 enable_relative = atoi(env_override); 241 enable_relative = atoi(env_override);
242 } 242 }
243 243
244 /* If the mouse is hidden and input is grabbed, we use relative mode */ 244 /* If the mouse is hidden and input is grabbed, we use relative mode */