projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable and fix clang-tidy readability-simplify-boolean-expr
[geeqie.git]
/
src
/
bar-gps.cc
diff --git
a/src/bar-gps.cc
b/src/bar-gps.cc
index
9d39104
..
08cfdf6
100644
(file)
--- a/
src/bar-gps.cc
+++ b/
src/bar-gps.cc
@@
-477,7
+477,7
@@
static gboolean bar_pane_gps_create_markers_cb(gpointer data)
longitude = metadata_read_GPS_coord(fd, "Xmp.exif.GPSLongitude", 0);
compass = metadata_read_GPS_direction(fd, "Xmp.exif.GPSImgDirection", 1000);
- if (
!(latitude == 0 && longitude == 0)
)
+ if (
latitude != 0 || longitude != 0
)
{
pgd->num_added++;