diff --git a/src/input2.c b/src/input2.c index 59b8151..a959926 100644 --- a/src/input2.c +++ b/src/input2.c @@ -320,7 +320,7 @@ int newline(Project *pr, int sect, char *line) case _REPORT: return (reportdata(pr)); case _TIMES: return (timedata(pr)); case _OPTIONS: return (optiondata(pr)); - case _TAGS: return (tagdata(pr)); + case _TAGS: return (tagdata(pr)); case _COORDS: return (coordata(pr)); case _VERTICES: return (vertexdata(pr)); diff --git a/src/project.c b/src/project.c index 217e633..b1c7261 100644 --- a/src/project.c +++ b/src/project.c @@ -7,7 +7,7 @@ Authors: see AUTHORS Copyright: see AUTHORS License: see LICENSE - Last Updated: 02/14/2025 + Last Updated: 02/19/2025 ****************************************************************************** */ @@ -1361,6 +1361,10 @@ int setcomment(Network *network, int object, int index, const char *newcomment) network->Curve[index].Comment = xstrcpy(&comment, newcomment, MAXMSG); return 0; + default: return 251; + } +} + int gettag(Network *network, int object, int index, char *tag) //----------------------------------------------------------------