summaryrefslogtreecommitdiffstats
path: root/gps.c
diff options
context:
space:
mode:
Diffstat (limited to 'gps.c')
-rw-r--r--gps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps.c b/gps.c
index 66f787b85..e97e58892 100644
--- a/gps.c
+++ b/gps.c
@@ -111,7 +111,7 @@ static gboolean scroll_cb(GtkWidget *widget, GdkEventScroll *event, gpointer dat
osm_gps_map_zoom_in(map);
osm_gps_map_set_center(map, target_lat, target_lon);
} else if (event->direction == GDK_SCROLL_DOWN) {
- if(zoom == min_zoom)
+ if (zoom == min_zoom)
return TRUE;
target_x = event->x + ((ltx + rbx) / 2.0 - (gint)(event->x)) * 2;