mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Fixed possible bug for %%
This commit is contained in:
parent
f4960433bc
commit
38e89f11f4
@ -824,12 +824,12 @@ char * CLangMngr::FormatAmxString(AMX *amx, cell *params, int parm, int &len)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
outptr += strlen(outptr);
|
||||||
} else {
|
} else {
|
||||||
*outptr++ = '%';
|
*outptr++ = '%';
|
||||||
*outptr++ = '%';
|
*outptr++ = '%';
|
||||||
src++;
|
++src;
|
||||||
}
|
}
|
||||||
outptr += strlen(outptr);
|
|
||||||
}
|
}
|
||||||
curState = S_Normal;
|
curState = S_Normal;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user