replace access() call with M_access()

This commit is contained in:
Roman Fomin 2023-03-07 16:56:31 +07:00
parent 0473620d46
commit f1799e90de

View File

@ -3188,7 +3188,7 @@ void M_ScreenShot (void)
screenshotname = M_StringJoin(screenshotdir, DIR_SEPARATOR_S, screenshotname = M_StringJoin(screenshotdir, DIR_SEPARATOR_S,
lbmname, NULL); lbmname, NULL);
} }
while (!access(screenshotname,0) && --tries); while (!M_access(screenshotname,0) && --tries);
if (tries) if (tries)
{ {