]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
change two more MAX_QPATH to MAX_OSPATH
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 31 Aug 2009 07:06:53 +0000 (07:06 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 31 Aug 2009 07:06:53 +0000 (07:06 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9155 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index a03226756894753a6205995e20777a35958220ef..50689362902beea52e488de8e9843bd96cc655a6 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1038,7 +1038,7 @@ FS_AddPack
  */
 qboolean FS_AddPack(const char *pakfile, qboolean *already_loaded, qboolean keep_plain_dirs)
 {
  */
 qboolean FS_AddPack(const char *pakfile, qboolean *already_loaded, qboolean keep_plain_dirs)
 {
-       char fullpath[MAX_QPATH];
+       char fullpath[MAX_OSPATH];
        int index;
        searchpath_t *search;
 
        int index;
        searchpath_t *search;
 
@@ -2841,7 +2841,7 @@ Look for a file in the packages and in the filesystem
 int FS_FileType (const char *filename)
 {
        searchpath_t *search;
 int FS_FileType (const char *filename)
 {
        searchpath_t *search;
-       char fullpath[MAX_QPATH];
+       char fullpath[MAX_OSPATH];
 
        search = FS_FindFile (filename, NULL, true);
        if(!search)
 
        search = FS_FindFile (filename, NULL, true);
        if(!search)