Enable and fix clang-tidy readability-simplify-boolean-expr
[geeqie.git] / src / bar-gps.cc
index 9d39104..08cfdf6 100644 (file)
@@ -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++;