Replace fixed-sized comment strings with dynamic strings

This commit is contained in:
Lew Rossman
2019-03-17 19:54:51 -04:00
parent c26775314c
commit 18f65eb8b0
17 changed files with 494 additions and 85 deletions

View File

@@ -7,7 +7,7 @@ Description: retrieves network data from an EPANET input file
Authors: see AUTHORS
Copyright: see AUTHORS
License: see LICENSE
Last Updated: 12/15/2018
Last Updated: 03/17/2019
******************************************************************************
*/
@@ -334,7 +334,7 @@ void adjustdata(Project *pr)
if (demand->Pat == 0)
{
demand->Pat = hyd->DefPat;
strcpy(demand->Name, "");
xstrcpy(&demand->Name, "", MAXMSG);
}
}
}