diff --git a/src/input1.c b/src/input1.c index fe606d9..e1cbcdf 100644 --- a/src/input1.c +++ b/src/input1.c @@ -334,7 +334,7 @@ void adjustdata(Project *pr) if (demand->Pat == 0) { demand->Pat = hyd->DefPat; - xstrcpy(&demand->Name, "", MAXMSG); + xstrcpy(&demand->Name, "", MAXID); } } }