Fix copy/paste error in project.c
This commit is contained in:
@@ -320,7 +320,7 @@ int newline(Project *pr, int sect, char *line)
|
|||||||
case _REPORT: return (reportdata(pr));
|
case _REPORT: return (reportdata(pr));
|
||||||
case _TIMES: return (timedata(pr));
|
case _TIMES: return (timedata(pr));
|
||||||
case _OPTIONS: return (optiondata(pr));
|
case _OPTIONS: return (optiondata(pr));
|
||||||
case _TAGS: return (tagdata(pr));
|
case _TAGS: return (tagdata(pr));
|
||||||
case _COORDS: return (coordata(pr));
|
case _COORDS: return (coordata(pr));
|
||||||
case _VERTICES: return (vertexdata(pr));
|
case _VERTICES: return (vertexdata(pr));
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
Authors: see AUTHORS
|
Authors: see AUTHORS
|
||||||
Copyright: see AUTHORS
|
Copyright: see AUTHORS
|
||||||
License: see LICENSE
|
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);
|
network->Curve[index].Comment = xstrcpy(&comment, newcomment, MAXMSG);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
default: return 251;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int gettag(Network *network, int object, int index, char *tag)
|
int gettag(Network *network, int object, int index, char *tag)
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user