Fix demo command file completion
This commit is contained in:
1 parent
8cc9eb5eff
commit
da4f9bd13d
7 files changed
+38
-27
No files matched your search
@@ -3451,16 +3451,17 @@ void Field_CompleteKeyname( void )
|
||||
Field_CompleteFilename
|
||||
===============
|
||||
*/
|
||||
void Field_CompleteFilename( const char *dir,
|
||||
const char *ext, qboolean stripExt, qboolean allowNonPureFilesOnDisk )
|
||||
void Field_CompleteFilename( const char *dir, const char *ext,
|
||||
char *filter, qboolean stripExt,
|
||||
qboolean allowNonPureFilesOnDisk )
|
||||
{
|
||||
matchCount = 0;
|
||||
shortestMatch[ 0 ] = 0;
|
||||
|
||||
FS_FilenameCompletion( dir, ext, stripExt, FindMatches, allowNonPureFilesOnDisk );
|
||||
FS_FilenameCompletion( dir, ext, filter, stripExt, FindMatches, allowNonPureFilesOnDisk );
|
||||
|
||||
if( !Field_Complete( ) )
|
||||
FS_FilenameCompletion( dir, ext, stripExt, PrintMatches, allowNonPureFilesOnDisk );
|
||||
FS_FilenameCompletion( dir, ext, filter, stripExt, PrintMatches, allowNonPureFilesOnDisk );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user