Skip to content

Commit a1a7432

Browse files
authored
Merge pull request #642 from drowe67/ms-reporter-unit-update
Fix capitalization of distance units in FreeDV Reporter window.
2 parents 9293a22 + 078c5fb commit a1a7432

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

USER_MANUAL.md

+1
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,7 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes
901901
* Fix issue preventing proper FreeDV Reporter column sizing on Windows. (PR #638)
902902
* Fix flicker in FreeDV Reporter window when tracking by frequency. (PR #637)
903903
* Update Filter dialog to better handle resizing. (PR #641)
904+
* Fix capitalization of distance units in FreeDV Reporter window. (PR #642)
904905
2. Enhancements:
905906
* Allow user to refresh status message even if it hasn't been changed. (PR #632)
906907
* Increase priority of status message highlight. (PR #632)

src/freedv_reporter.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ FreeDVReporterDialog::FreeDVReporterDialog(wxWindow* parent, wxWindowID id, cons
7676

7777
m_listSpots->InsertColumn(col++, wxT("Callsign"), wxLIST_FORMAT_CENTER, 80);
7878
m_listSpots->InsertColumn(col++, wxT("Locator"), wxLIST_FORMAT_CENTER, 80);
79-
m_listSpots->InsertColumn(col++, wxT("KM"), wxLIST_FORMAT_CENTER, 80);
79+
m_listSpots->InsertColumn(col++, wxT("km"), wxLIST_FORMAT_CENTER, 80);
8080
m_listSpots->InsertColumn(col++, wxT("Version"), wxLIST_FORMAT_CENTER, 80);
8181
m_listSpots->InsertColumn(col++, wxGetApp().appConfiguration.reportingConfiguration.reportingFrequencyAsKhz ? wxT("KHz") : wxT("MHz"), wxLIST_FORMAT_CENTER, 80);
8282
m_listSpots->InsertColumn(col++, wxT("Status"), wxLIST_FORMAT_CENTER, 80);
@@ -301,11 +301,11 @@ void FreeDVReporterDialog::refreshLayout()
301301

302302
if (wxGetApp().appConfiguration.reportingConfiguration.useMetricDistances)
303303
{
304-
item.SetText("KM");
304+
item.SetText("km");
305305
}
306306
else
307307
{
308-
item.SetText("Miles");
308+
item.SetText("mi");
309309
}
310310

311311
m_listSpots->SetColumn(2 + colOffset, item);

0 commit comments

Comments
 (0)