From d876b69b388528fd3236f2f05caac22345a798f4 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Wed, 15 Aug 2007 15:25:21 +0000 Subject: 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. --- source/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cl_main.c') diff --git a/source/cl_main.c b/source/cl_main.c index 13b47f2..eb085bb 100644 --- a/source/cl_main.c +++ b/source/cl_main.c @@ -764,7 +764,7 @@ static void CL_ServerStatus_f( void ) { SortPlayers ==================== */ -static int SortPlayers( const void *v1, const void *v2 ) { +static int QDECL SortPlayers( const void *v1, const void *v2 ) { const playerStatus_t *p1 = ( const playerStatus_t * )v1; const playerStatus_t *p2 = ( const playerStatus_t * )v2; -- cgit v1.2.3