Change error number 2331 to 234

This commit is contained in:
Elad Salomons
2020-08-10 11:20:51 +03:00
parent 32732dbdd5
commit ec11556d88
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ DAT(226,"no head curve or power rating for pump")
DAT(227,"invalid head curve for pump")
DAT(230,"nonincreasing x-values for curve")
DAT(233,"network has unconnected nodes")
DAT(2331,"network has an unconnected node with ID: ")
DAT(234,"network has an unconnected node with ID: ")
// These errors apply only to API functions
DAT(240,"nonexistent source")

View File

@@ -823,7 +823,7 @@ int unlinked(Project *pr)
if (pr->network.Adjlist[i] == NULL)
{
count++;
sprintf(pr->Msg, "Error 2331: %s %s", geterrmsg(2331, errmsg), net->Node[i].ID);
sprintf(pr->Msg, "Error 234: %s %s", geterrmsg(234, errmsg), net->Node[i].ID);
writeline(pr, pr->Msg);
}
if (count >= 10) break;