[libcalamares] Off-by-one folded the world in half
- Dropped the sign from longitudes, wrapping the west onto the east
This commit is contained in:
parent
1880eb5148
commit
08dc9011d6
@ -223,7 +223,7 @@ TZZone::TZZone( const QString& region, const char* zoneName, const QString& coun
|
|||||||
if ( cooSplitPos > 0 )
|
if ( cooSplitPos > 0 )
|
||||||
{
|
{
|
||||||
m_latitude = getRightGeoLocation( position.mid( 0, cooSplitPos ) );
|
m_latitude = getRightGeoLocation( position.mid( 0, cooSplitPos ) );
|
||||||
m_longitude = getRightGeoLocation( position.mid( cooSplitPos + 1 ) );
|
m_longitude = getRightGeoLocation( position.mid( cooSplitPos ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user