Merge branch 'fixmain' into 'master'

Fix logfiles crashing Windoze (resolves #102)

Closes #102

See merge request STJr/SRB2!591
This commit is contained in:
Alam Ed Arias 2019-12-28 21:15:23 -05:00
commit c27d062cc8
1 changed files with 2 additions and 0 deletions

View File

@ -2457,6 +2457,8 @@ int M_PathParts(const char *path)
int n;
const char *p;
const char *t;
if (path == NULL)
return 0;
for (n = 0, p = path ;; ++n)
{
t = p;