mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- backend update from GZDoom
* replacement of 'long' in string code. * palette removal in V_GetColor. * fixes to DShape2D buffer management.
This commit is contained in:
parent
c4c9f4acbe
commit
bad2c2e55f
32 changed files with 242 additions and 180 deletions
|
@ -533,7 +533,7 @@ FString BuildString (int argc, FString *argv)
|
|||
else if (strchr(argv[arg], '"'))
|
||||
{ // If it contains one or more quotes, we need to escape them.
|
||||
buf << '"';
|
||||
long substr_start = 0, quotepos;
|
||||
ptrdiff_t substr_start = 0, quotepos;
|
||||
while ((quotepos = argv[arg].IndexOf('"', substr_start)) >= 0)
|
||||
{
|
||||
if (substr_start < quotepos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue