Fix console tab autocomplete for exec and condump on pure servers, patch by Zack Middleton

This commit is contained in:
Thilo Schulz 2011-02-10 19:58:20 +00:00
parent 48aef31d9e
commit 614f315ce8
7 changed files with 15 additions and 15 deletions

View file

@ -3303,15 +3303,15 @@ Field_CompleteFilename
===============
*/
void Field_CompleteFilename( const char *dir,
const char *ext, qboolean stripExt )
const char *ext, qboolean stripExt, qboolean allowNonPureFilesOnDisk )
{
matchCount = 0;
shortestMatch[ 0 ] = 0;
FS_FilenameCompletion( dir, ext, stripExt, FindMatches );
FS_FilenameCompletion( dir, ext, stripExt, FindMatches, allowNonPureFilesOnDisk );
if( !Field_Complete( ) )
FS_FilenameCompletion( dir, ext, stripExt, PrintMatches );
FS_FilenameCompletion( dir, ext, stripExt, PrintMatches, allowNonPureFilesOnDisk );
}
/*