summaryrefslogtreecommitdiff
path: root/source/common.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-08-15 15:25:21 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-08-15 15:25:21 +0000
commitd876b69b388528fd3236f2f05caac22345a798f4 (patch)
tree114f57a7ffc7a3e3a0a75fd93f4bb33680ed33d4 /source/common.c
parentf294db4ccf45f6274e65260dd6f9a2c5faa94313 (diff)
Fixed UI_ModeChanged not being called for hard linked UI.
Added QDECL specifier for some interface functions. Changed default values for com_date_format and com_time_format. On Windows, set up empty CRT invalid parameter handler so e.g. invalid modificators passed to strftime do not raise an exception.
Diffstat (limited to 'source/common.c')
-rw-r--r--source/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/common.c b/source/common.c
index 6ee5ab0..fd1718e 100644
--- a/source/common.c
+++ b/source/common.c
@@ -1400,8 +1400,8 @@ void Qcommon_Init( char *commandLine ) {
cl_paused = Cvar_Get( "cl_paused", "0", CVAR_ROM );
com_timedemo = Cvar_Get( "timedemo", "0", CVAR_CHEAT );
com_sleep = Cvar_Get( "com_sleep", "1", 0 );
- com_date_format = Cvar_Get( "com_date_format", "%F", 0 );
- com_time_format = Cvar_Get( "com_time_format", "%T", 0 );
+ com_date_format = Cvar_Get( "com_date_format", "%Y-%m-%d", 0 );
+ com_time_format = Cvar_Get( "com_time_format", "%H:%M:%S", 0 );
com_debug_break = Cvar_Get( "com_debug_break", "0", 0 );
Cvar_Get( "version", version, CVAR_SERVERINFO|CVAR_ROM );