From bcc79996c4c254a528e7b00f260d8ebd09e2a820 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Sat, 3 Oct 2009 11:37:03 +0000 Subject: * (bug 3554) Fix a few more places where opened files might not be closed --- src/game/g_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_client.c') diff --git a/src/game/g_client.c b/src/game/g_client.c index 3022a9cc..d0f9349f 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -887,7 +887,7 @@ static qboolean G_NonSegModel( const char *filename ) return qfalse; } - if( len <= 0 ) + if( len < 0 ) return qfalse; if( len >= sizeof( text ) - 1 ) -- cgit