diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2011-02-10 23:13:24 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:59 +0000 |
commit | a28a0858b9f6958dba434b86ada9890a765631a6 (patch) | |
tree | e4b186d45a3af13bfd66fb3bf88d032f86fbe206 /src/qcommon | |
parent | 71f184aca670680e108e9787c983b069615b3164 (diff) |
* Fix a couple of whitespace inconsistencies in fs_which that I noticed while making the patch for upstream
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/files.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c index cae3da7f..302ce0fe 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -2473,7 +2473,7 @@ void FS_Which_f( void ) { long hash; FILE *temp; char *filename; - char buf[ MAX_OSPATH ]; + char buf[ MAX_OSPATH ]; hash = 0; filename = Cmd_Argv(1); @@ -2493,7 +2493,7 @@ void FS_Which_f( void ) { if ( search->pack ) { hash = FS_HashFileName(filename, search->pack->hashSize); } - // is the element a pak file? + // is the element a pak file? if ( search->pack && search->pack->hashTable[hash] ) { // look through all the pak file elements pak = search->pack; @@ -2516,8 +2516,8 @@ void FS_Which_f( void ) { continue; } fclose(temp); - Com_sprintf( buf, sizeof( buf ), "%s/%s", dir->path, dir->gamedir ); - FS_ReplaceSeparators( buf ); + Com_sprintf( buf, sizeof( buf ), "%s/%s", dir->path, dir->gamedir ); + FS_ReplaceSeparators( buf ); Com_Printf( "File \"%s\" found at \"%s\"\n", filename, buf ); return; } |