Ticket #2685: patch-ball-main.c
File patch-ball-main.c, 499 bytes (added by mvitocruz@…, 20 years ago) |
---|
Line | |
---|---|
1 | --- ball/main.c.old Sat Feb 12 23:07:56 2005 |
2 | +++ ball/main.c Sat Feb 12 23:08:18 2005 |
3 | @@ -97,11 +97,7 @@ |
4 | { |
5 | case SDL_MOUSEMOTION: |
6 | st_point(+e.motion.x, |
7 | -#ifdef __APPLE__ |
8 | - +e.motion.y, |
9 | -#else |
10 | -e.motion.y + config_get_d(CONFIG_HEIGHT), |
11 | -#endif |
12 | +e.motion.xrel, |
13 | config_get_d(CONFIG_MOUSE_INVERT) |
14 | ? +e.motion.yrel : -e.motion.yrel); |