]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix some typos
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Nov 2011 05:42:40 +0000 (05:42 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 2 Nov 2011 08:13:30 +0000 (09:13 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11516 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=8feb0ae1cbd0d9b548fbd1ffbc8bb68801473569

fs.c

diff --git a/fs.c b/fs.c
index 1917fd2f01fd9267862b286ca8aa40c6f0c3b2af..8e2fe67ffc904656ef2f01ea2ab58f9a9f612d57 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1877,7 +1877,7 @@ int FS_ChooseUserDir(userdirmode_t userdirmode, char *userdir, size_t userdirsiz
        // see if we can write to this path (note: won't create path)
 #ifdef WIN32
        // no access() here, we must try to open the file for appending
-       fd = Sys_OpenFD(va("%s%s/config.cfg", userdir, gamedirname1), "a", false);
+       fd = Sys_SysOpenFD(va("%s%s/config.cfg", userdir, gamedirname1), "a", false);
        if(fd >= 0)
                close(fd);
 #else