summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-03 11:37:03 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:10 +0000
commitbcc79996c4c254a528e7b00f260d8ebd09e2a820 (patch)
tree12a47818547b4cd85cc2465393e0bccdf4868057 /src/game/g_client.c
parent6f74ece9e3d772e8934e6e8f24defbd5238cbeed (diff)
* (bug 3554) Fix a few more places where opened files might not be closed
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
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 )