summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qcommon/files.c8
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;
}