summaryrefslogtreecommitdiff
path: root/source/cmd.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-12-21 21:24:49 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-12-21 21:24:49 +0000
commitb1fa1be8b67e6d34a3d11fe4bfb9cd27191e2b28 (patch)
tree878887f017a82f7b861464c683d9a908e6d0a18e /source/cmd.c
parenta79ed051848531afb9a479f280bbcc39a4c29f44 (diff)
Use Sys_Setenv for setting environment variables in a safe way.
Moved `writeconfig' command to client code section. Moved `setenv' command to common code section. Properly handle `--help' -and `--version' arguments on Unix.
Diffstat (limited to 'source/cmd.c')
-rw-r--r--source/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cmd.c b/source/cmd.c
index b565988..43fb9c8 100644
--- a/source/cmd.c
+++ b/source/cmd.c
@@ -1350,7 +1350,7 @@ static void Cmd_Exec_f( void ) {
FS_FreeFile( f );
}
-static const char *Cmd_Exec_g( const char *partial, int state ) {
+const char *Cmd_Exec_g( const char *partial, int state ) {
return Com_FileNameGeneratorByFilter( "", "*.cfg", partial, qtrue, state );
}