Commit c85dc8a4 authored by rswindell's avatar rswindell
Browse files

services.ini values default to blank rather than "error".

parent c6b715d5
......@@ -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(
}
//---------------------------------------------------------------------------
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment