projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
650aa8e
)
Check if GPS data is reasonable
author
Colin Clark
<cclark@mcb.net>
Mon, 20 Jun 2016 13:31:32 +0000
(14:31 +0100)
committer
Colin Clark
<cclark@mcb.net>
Mon, 20 Jun 2016 13:31:32 +0000
(14:31 +0100)
https://github.com/BestImageViewer/geeqie/issues/406
Fix incorrect logic.
src/bar_gps.c
patch
|
blob
|
history
diff --git
a/src/bar_gps.c
b/src/bar_gps.c
index
77da182
..
31e51f8
100644
(file)
--- a/
src/bar_gps.c
+++ b/
src/bar_gps.c
@@
-240,7
+240,7
@@
static gboolean bar_pane_gps_create_markers_cb(gpointer data)
latitude = metadata_read_GPS_coord(fd, "Xmp.exif.GPSLatitude", 0);
longitude = metadata_read_GPS_coord(fd, "Xmp.exif.GPSLongitude", 0);
- if (
(latitude != 0) && (longitude !
= 0))
+ if (
!(latitude == 0 && longitude =
= 0))
{
pgd->num_added++;