diff options
author | Benjamin <nystire@gmail.com> | 2013-08-05 14:35:36 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-08-05 16:49:33 +0200 |
commit | aa5365eb3fc49e6b7ffa2897b7bbd801b173b26b (patch) | |
tree | d3ea8690c9ef1ac0db6a2ec48d22ae2d8539242c /gps.c | |
parent | e5b18db8026f1488f73b5fed7fa62ba4990cea46 (diff) | |
download | subsurface-aa5365eb3fc49e6b7ffa2897b7bbd801b173b26b.tar.gz |
Clean up code to remove false messages about errors in Eclipse
Imported the subsurface project into Eclipse to try and pull apart
how it all works together. Added an include for profile.h and some
brackets around a condition, but didn't make any functional changes
(I hope). These 2 changes should be purely cosmetic.
Signed-off-by: Benjamin Fogel <benjaminfogel@yahoo.co.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gps.c')
-rw-r--r-- | gps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ static void add_gps_point(OsmGpsMap *map, float latitude, float longitude) static void key_press_event(GtkWidget *window, GdkEventKey *event, gpointer data) { if ((event->string != NULL && event->keyval == GDK_Escape) || - (event->string != NULL && event->keyval == GDK_w && event->state & GDK_CONTROL_MASK)) { + (event->string != NULL && event->keyval == GDK_w && (event->state & GDK_CONTROL_MASK))) { gtk_widget_destroy(window); } } |