diff options
Diffstat (limited to 'src/qcommon/files.c')
-rw-r--r-- | src/qcommon/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c index 8e32c9ff..72c8cffe 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -535,7 +535,7 @@ static void FS_CheckFilenameIsNotExecutable( const char *filename, const char *function ) { // Check if the filename ends with the library extension - if( !Q_stricmp( COM_GetExtension( filename ), DLL_EXT ) ) + if(COM_CompareExtension(filename, DLL_EXT)) { Com_Error( ERR_FATAL, "%s: Not allowed to manipulate '%s' due " "to %s extension", function, filename, DLL_EXT ); |