Merge branch 'fixmain' into 'master'
Fix logfiles crashing Windoze (resolves #102) Closes #102 See merge request STJr/SRB2!591
This commit is contained in:
commit
c27d062cc8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue