mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
468d3f28f9
commit
e3a8ed5183
17 changed files with 103 additions and 164 deletions
2
gps.c
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue