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

Update load.cpp #987

Merged
merged 1 commit into from
Aug 26, 2021
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 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