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 (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
David P. Chassin authored Aug 26, 2021
1 parent ecd9fcb commit 1a0ea0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gldcore/load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8029,7 +8029,7 @@ int GldLoader::process_macro(char *line, int size, char *_filename, int linenum)
{
int xc;
char cmd[1024];
if ( sscanf(line+8,"%d %1023[^\n]",&xc,cmd) < 2 )
if ( sscanf(line+8,"%d %1023[^\r\n]",&xc,cmd) < 2 )
{
syntax_error(filename,linenum,"#on_exit syntax error");
return FALSE;
Expand Down

0 comments on commit 1a0ea0a

Please sign in to comment.