mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix problems from rebase, clean up debian packaging definition.
Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
28cd093d37
commit
478e444cd9
2 changed files with 3 additions and 4 deletions
|
@ -535,8 +535,8 @@ static bool parseASF(QFile &f, metadata *metadata)
|
|||
degrees_t degminsec_to_udeg(float a[3])
|
||||
{
|
||||
if (a[0] == 0.0 && a[1] == 0.0 && a[2] == 0.0)
|
||||
return { 0 };
|
||||
return { static_cast<int>(round(a[0] * 1'000'000.0 +
|
||||
return { .udeg = 0 };
|
||||
return { .udeg = static_cast<int>(round(a[0] * 1'000'000.0 +
|
||||
a[1] * (1'000'000.0/60.0) +
|
||||
a[2] * (1'000'000.0/3600.0))) };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue