[Win32] Goto Object dialog ignores zeroes
Closed this issue · 0 comments
SevenSpheres commented
Describe the bug
In the Win32 frontend, when the Goto Object dialog is used to tell Celestia to go to an object at a specific distance, the distance entered is only read up to the first zero, so e.g. 30000 km is read as 3 km. This does not seem to affect the Qt6 frontend.
To Reproduce
Steps to reproduce the behavior:
- Open the "Goto Object" dialog
- Enter Earth and a distance of 30000 km
- You'll be taken to 3 km from Earth
- Enter a distance of 32000 km
- You'll be taken to 32 km
- Enter a distance of 32123 km
- You'll be taken to 32123 km
- Enter a distance of 32023 km
- You'll be taken to a distance of 32 km
Expected behavior
The full number entered is read.
Desktop (please complete the following information):
- OS: Windows
- Frontend: Win32
- Version: 1.7.0 latest