use Realloc instead of Srealloc

This commit is contained in:
ceriel
1988-08-15 15:27:29 +00:00
parent e0ad269d4c
commit 119bc227de
3 changed files with 11 additions and 11 deletions

View File

@@ -317,11 +317,11 @@ string_token(nm, stop_char)
}
str[pos++] = c;
if (pos == str_size)
str = Srealloc(str, str_size <<= 1);
str = Realloc(str, str_size <<= 1);
LoadChar(c);
}
str[pos++] = '\0'; /* for filenames etc. */
str = Srealloc(str, pos);
str = Realloc(str, pos);
return str;
}