Fix qw:// url stuff a little.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6200 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2022-03-01 02:52:02 +00:00
parent c2633078ff
commit 1af4e05ab6

View file

@ -6211,7 +6211,7 @@ qboolean Host_RunFile(const char *fname, int nlen, vfsfile_t *file)
}
schemelen++;
if (!strncmp(schemestart+schemelen, "//", schemelen))
if (!strncmp(schemestart+schemelen, "//", 2))
schemelen+=2;
t = Z_Malloc(urilen+1);