Skip to content
Snippets Groups Projects
Commit 108b4e0c authored by rswindell's avatar rswindell
Browse files

We build this file with BCB6, which is not C99 compliant, so we can't use this

fancy structure initalization syntax here.
parent 12ea5b2a
Branches
Tags
No related merge requests found
......@@ -740,9 +740,15 @@ BOOL sbbs_write_ini(
BOOL result=FALSE;
str_list_t list;
str_list_t* lp;
ini_style_t style = { .key_prefix = "\t", .section_separator = "", .value_separator = " = ", .bit_separator = " | " };
ini_style_t style;
global_startup_t global_buf;
memset(&style, 0, sizeof(style));
style.key_prefix = "\t";
style.section_separator = "";
style.value_separator = " = ";
style.bit_separator = " | ";
if((list=iniReadFile(fp))==NULL)
return(FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment