shithub: choc

Download patch

ref: a85cd11ee1b220c6928eac077e0fa9ec6abab42a
parent: 456e87433a1b642b84ac4161332da502c2d9a79f
author: Simon Howard <fraggle@gmail.com>
date: Fri Feb 23 18:42:56 EST 2007

Fix compile errors.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 840

--- a/setup/display.c
+++ b/setup/display.c
@@ -18,6 +18,9 @@
 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 //
+
+#include <string.h>
+
 #include "textscreen.h"
 
 #include "display.h"
@@ -165,7 +168,7 @@
 
         driver_list = TXT_NewDropdownList(&win32_video_driver,
                                           win32_video_drivers,
-                                          2));
+                                          2);
 
         TXT_SignalConnect(driver_list, "changed", UpdateVideoDriver, NULL);
         SetWin32VideoDriver();