diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-08-15 15:25:21 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-08-15 15:25:21 +0000 |
commit | d876b69b388528fd3236f2f05caac22345a798f4 (patch) | |
tree | 114f57a7ffc7a3e3a0a75fd93f4bb33680ed33d4 /source/gl_draw.c | |
parent | f294db4ccf45f6274e65260dd6f9a2c5faa94313 (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/gl_draw.c')
-rw-r--r-- | source/gl_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gl_draw.c b/source/gl_draw.c index fd75910..51f6b9c 100644 --- a/source/gl_draw.c +++ b/source/gl_draw.c @@ -371,7 +371,7 @@ void Draw_FPS( int x, int y ) { #define FPS_APERTURE 9 -int SortCmp( const void *v1, const void *v2 ) { +int QDECL SortCmp( const void *v1, const void *v2 ) { int i1 = *( int * )v1; int i2 = *( int * )v2; |