]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - menu.h
FS_LoadFile: don't segfault when trying to open a non-regular file
[xonotic/darkplaces.git] / menu.h
diff --git a/menu.h b/menu.h
index df58facb50488d1c08a903bac835d1011f6f182d..0e52ef4aba06b7c34a0fc1bbbd3f3c777d1feb0e 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -76,6 +76,7 @@ void MP_Shutdown (void);*/
 //
 // menu router
 //
+
 void MR_Init_Commands (void);
 void MR_Init (void);
 void MR_Restart (void);
@@ -92,6 +93,6 @@ typedef struct video_resolution_s
        double pixelheight; // pixel aspect
 }
 video_resolution_t;
-video_resolution_t video_resolutions[];
+extern video_resolution_t video_resolutions[];
 #endif