From 94c4b4c69131cc8e4c23a207d9472bd1e7de44a8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 8 Sep 2008 02:13:10 +0000 Subject: [PATCH] Fixed the compiler eating too many characters in macro subsitutions (bug amb1938). --HG-- branch : sourcemod-1.0.x extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402525 --- sourcepawn/compiler/sc2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sourcepawn/compiler/sc2.c b/sourcepawn/compiler/sc2.c index 7db6e7fa..cb9a90ba 100644 --- a/sourcepawn/compiler/sc2.c +++ b/sourcepawn/compiler/sc2.c @@ -1641,7 +1641,6 @@ static int substpattern(unsigned char *line,size_t buffersize,char *pattern,char if (args[arg]!=NULL) { strins((char*)s,(char*)args[arg],strlen((char*)args[arg])); s+=strlen((char*)args[arg]); - e++; } else { error(236); /* parameter does not exist, incorrect #define pattern */ strins((char*)s,(char*)e,2);