From f37e4934c6f0de7a3564da8e1c90ac7c0b5aa53a Mon Sep 17 00:00:00 2001 From: Lew Rossman Date: Wed, 19 Feb 2025 10:32:49 -0500 Subject: [PATCH] Fix copy/paste error in project.c --- src/input2.c | 2 +- src/project.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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) //----------------------------------------------------------------