Skip to content

Commit 5f30231

Browse files
committed
Fixed some "info" display X items.
1 parent 1875009 commit 5f30231

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Unit1.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ void __fastcall TForm1::FormCreate(TObject *Sender)
533533
String windows_ver = common.windowsVer;
534534
String local_name = common.localName;
535535

536-
common.title = Application->Title + " by OneOfEleven et al " + s + " (+OD16) ";
536+
common.title = Application->Title + " by OneOfEleven et al " + s + " (+OD17) ";
537537

538538
this->Caption = common.title;
539539
StatusBar2->Panels->Items[0]->Text = windows_ver + " " + local_name + " '" + String(common.decimalPoint()) + "'";
@@ -2309,14 +2309,14 @@ bool __fastcall TForm1::updateInfoPanel2(const int graph)
23092309

23102310
s.printf("%0.3f", imp.real());
23112311
MarkerS11SeriesRLabel->Caption = s;
2312-
s = (imp.imag() < 0) ? cap_str : ind_str;
2312+
s.printf("%0.3f", imp.imag());
23132313
MarkerS11SeriesXLabel->Caption = s;
23142314
MarkerS11SeriesLLabel->Caption = ind_str;
23152315
MarkerS11SeriesCLabel->Caption = cap_str;
23162316

23172317
s.printf("%0.3f", imp_p.real());
23182318
MarkerS11ParallelRLabel->Caption = s;
2319-
s = (imp_p.imag() < 0) ? capp_str : indp_str;
2319+
s.printf("%0.3f", imp_p.imag());
23202320
MarkerS11ParallelXLabel->Caption = s;
23212321
MarkerS11ParallelLLabel->Caption = indp_str;
23222322
MarkerS11ParallelCLabel->Caption = capp_str;

0 commit comments

Comments
 (0)