Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Update load.cpp #1177

Merged
merged 1 commit into from
May 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6311,7 +6311,7 @@ int GldLoader::modify_directive(PARSER)
if ( WHITE,LITERAL("modify") )
{
char oname[64], pname[64], ovalue[1024];
if ( (WHITE,TERM(name(HERE,oname,sizeof(oname)))) && LITERAL(".") && TERM(dotted_name(HERE,pname,sizeof(pname))) && (WHITE,TERM(value(HERE,ovalue,sizeof(ovalue)))) && LITERAL(";") )
if ( (WHITE,TERM(dashed_name(HERE,oname,sizeof(oname)))) && LITERAL(".") && TERM(dotted_name(HERE,pname,sizeof(pname))) && (WHITE,TERM(value(HERE,ovalue,sizeof(ovalue)))) && LITERAL(";") )
{
OBJECT *obj = object_find_name(oname);
if ( obj )
Expand Down