mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-23 13:11:22 -05:00
Tiny code clean-up.
This commit is contained in:
parent
8fd8815e95
commit
b5ac76afc4
@ -46,8 +46,7 @@ static std::string latitude(const Latitude value) {
|
||||
if( value.is_not_available() ) {
|
||||
return "not available";
|
||||
} else if( value.is_valid() ) {
|
||||
const auto normalized = value.normalized();
|
||||
return latlon_abs_normalized(normalized, "SN");
|
||||
return latlon_abs_normalized(value.normalized(), "SN");
|
||||
} else {
|
||||
return "invalid";
|
||||
}
|
||||
@ -57,8 +56,7 @@ static std::string longitude(const Longitude value) {
|
||||
if( value.is_not_available() ) {
|
||||
return "not available";
|
||||
} else if( value.is_valid() ) {
|
||||
const auto normalized = value.normalized();
|
||||
return latlon_abs_normalized(normalized, "WE");
|
||||
return latlon_abs_normalized(value.normalized(), "WE");
|
||||
} else {
|
||||
return "invalid";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user