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

Commit

Permalink
Update load.cpp (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
dchassin committed May 23, 2022
1 parent ca4f5c0 commit c843890
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c843890

Please sign in to comment.