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

load_cfg text.dat error logs number of items rather than lines.

parent 7ace852c
Branches
Tags
No related merge requests found
......@@ -110,7 +110,7 @@ BOOL DLLCALL load_cfg(scfg_t* cfg, char* text[], BOOL prep, char* error)
if(i<TOTAL_TEXT) {
sprintf(error,"line %lu in %s: Less than TOTAL_TEXT (%u) strings defined in %s."
,line,fname
,i,fname
,TOTAL_TEXT,fname);
return(FALSE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment