From 44d7f0d5c9b012611d79e85b05793f4f993821b9 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 2 Jan 2006 22:58:16 +0000 Subject: [PATCH] vfs fix git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1775 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/common.c b/engine/common/common.c index 7489b1540..aabccad9e 100644 --- a/engine/common/common.c +++ b/engine/common/common.c @@ -2135,7 +2135,7 @@ void COM_CheckRegistered (void) unsigned short check[128]; int i; - h = FS_OpenVFS("gfx/pop.lmp", "r", FS_GAME); + h = FS_OpenVFS("gfx/pop.lmp", "rb", FS_GAME); static_registered = false; if (!h) @@ -2627,7 +2627,7 @@ void Info_SetValueForStarKey (char *s, const char *key, const char *value, int m return; } - if (strlen(key) >= MAX_INFO_KEY || strlen(value) >= MAX_INFO_KEY) + if (strlen(key) >= MAX_INFO_KEY)// || strlen(value) >= MAX_INFO_KEY) { Con_TPrintf (TL_KEYTOOLONG); return;