summaryrefslogtreecommitdiffstats
path: root/gps.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-30 08:10:46 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-30 08:31:53 +1100
commite3a8ed5183ed5a24e391395c9faeae03dc9e4a6a (patch)
tree6490fa5d2d135dd74b748f0fe31179411144f63f /gps.c
parent468d3f28f9f1f2795960b8e8b79b9d02024e34ed (diff)
downloadsubsurface-e3a8ed5183ed5a24e391395c9faeae03dc9e4a6a.tar.gz
Massive cleanup
Mostly coding style and whitespace changes plus making lots of functions static that have no need to be extern. This also helped find a bit of code that is actually no longer used. This should have absolutely no functional impact - all changes should be purely cosmetic. But it removes a bunch of lines of code and makes the rest easier to read. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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;