From c85dc8a45deaf025421f0716dd740fc0d8746809 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 30 Nov 2015 09:18:02 +0000 Subject: [PATCH] services.ini values default to blank rather than "error". --- src/sbbs3/ctrl/ServicesCfgDlgUnit.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/ctrl/ServicesCfgDlgUnit.cpp b/src/sbbs3/ctrl/ServicesCfgDlgUnit.cpp index b8e6e96f5c..e67798b0d1 100644 --- a/src/sbbs3/ctrl/ServicesCfgDlgUnit.cpp +++ b/src/sbbs3/ctrl/ServicesCfgDlgUnit.cpp @@ -74,7 +74,7 @@ TODO: This is broken and stuff. for(unsigned u=0; keys!=NULL && keys[u]!=NULL; u++) { if(keys[u][0]) GlobalValueListEditor->InsertRow(AnsiString(keys[u]) - ,AnsiString(iniGetString(ini,ROOT_SECTION,keys[u],"error",NULL)) + ,AnsiString(iniGetString(ini,ROOT_SECTION,keys[u],"",NULL)) ,/* append: */true); } iniFreeStringList(keys); @@ -177,7 +177,7 @@ void __fastcall TServicesCfgDlg::CheckListBoxClick(TObject *Sender) for(unsigned u=0; keys!=NULL && keys[u]!=NULL; u++) { if(keys[u][0]) ValueListEditor->InsertRow(AnsiString(keys[u]), - AnsiString(iniGetString(section,NULL,keys[u],"error",NULL)), /* append: */true); + AnsiString(iniGetString(section,NULL,keys[u],"",NULL)), /* append: */true); } iniFreeStringList(keys); iniFreeStringList(section); @@ -244,3 +244,5 @@ void __fastcall TServicesCfgDlg::GlobalValueListEditorValidate( } //--------------------------------------------------------------------------- + + -- GitLab