summaryrefslogtreecommitdiff
path: root/win/Mainfrm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/Mainfrm.cpp')
-rw-r--r--win/Mainfrm.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/Mainfrm.cpp b/win/Mainfrm.cpp
index 0761390..4a97393 100644
--- a/win/Mainfrm.cpp
+++ b/win/Mainfrm.cpp
@@ -416,11 +416,12 @@ LONG CMainFrame::OnUpdateInfo(UINT lParam, LONG wParam)
m_wndModifyDlg.UpdateInfo((Object*)lParam);
char str[128];
- float pos[3];
+ Vector3 pos;
lcGetActiveProject()->GetFocusPosition(pos);
- sprintf (str, "X: %.2f Y: %.2f Z: %.2f", pos[0], pos[1], pos[2]);
+ lcGetActiveProject()->ConvertToUserUnits(pos);
+ sprintf (str, "X: %.2f Y: %.2f Z: %.2f", pos[0], pos[1], pos[2]);
SetStatusBarPane(ID_INDICATOR_POSITION, str);
return TRUE;