summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--Makefile.am17
-rw-r--r--src/controller/actions/pan.c23
-rw-r--r--src/controller/actions/set_ortho.c5
-rw-r--r--src/controller/actions/zoom.c8
-rw-r--r--src/controller/callbacks/keyboard.c2
-rw-r--r--src/controller/callbacks/mouse.c30
-rw-r--r--src/controller/callbacks/mouse_motion.c2
-rw-r--r--src/controller/callbacks/mouse_wheel.c8
-rw-r--r--src/controller/callbacks/reshape.c26
-rw-r--r--src/model/geometry/map_geometry.c10
-rw-r--r--src/model/state/pan_info_init.h2
-rw-r--r--src/model/state/zoom_info_init.c2
12 files changed, 70 insertions, 65 deletions
diff --git a/src/controller/callbacks/keyboard.c b/src/controller/callbacks/keyboard.c
index 9e667d8..a74ac7b 100644
--- a/src/controller/callbacks/keyboard.c
+++ b/src/controller/callbacks/keyboard.c
@@ -45,7 +45,7 @@ keyboard (unsigned char key, int x, int y)
* Reset the view (unzoom, recenter).
*/
pan_info_init (&S.pan);
- zoom_info_init (&S.zoom);
+ zoom_info_init (&S.zoom);
GLint viewport[4];
glGetIntegerv (GL_VIEWPORT, viewport);

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.