mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue