]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
renamed snd_linux.c to snd_oss.c
[xonotic/darkplaces.git] / console.c
index c3ce5a1b2eb4fe736d4626dbd763f5d4ff5271f3..297bcb23f43249645a595bb331eb8bd35291e554 100644 (file)
--- a/console.c
+++ b/console.c
@@ -23,8 +23,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include <libc.h>
 #endif
 #ifndef _MSC_VER
+#ifndef __BORLANDC__
 #include <unistd.h>
 #endif
+#endif
 #ifdef WIN32
 #include <io.h>
 #endif
@@ -166,7 +168,7 @@ void Con_CheckResize (void)
 
        if (width < 1)                  // video hasn't been initialized yet
        {
-               width = 38;
+               width = 78; // LordHavoc: changed from 38 to 78 (320 -> 640 conversion)
                con_linewidth = width;
                con_totallines = CON_TEXTSIZE / con_linewidth;
                memset (con_text, ' ', CON_TEXTSIZE);