diff options
author | darkvater <darkvater@openttd.org> | 2005-01-15 15:48:05 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-15 15:48:05 +0000 |
commit | ef3b9161f8f106a7cf6b02766fac06d92523816a (patch) | |
tree | 174b12956255bea6bb6661e6e5a30597c730575c /win32.c | |
parent | 559317f9d0ed7d32cff54939a3296922e3fae066 (diff) | |
download | openttd-ef3b9161f8f106a7cf6b02766fac06d92523816a.tar.xz |
(svn r1523) -Fix: somehow mousewheel was disabled on windows using SDL; reenabled again
-Fix: added missing CDECL to ellipsis functions and changed VS6 project file to use _cdecl calling conventions (thx tamlin)
Diffstat (limited to 'win32.c')
-rw-r--r-- | win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2074,7 +2074,7 @@ void DeterminePaths() CreateDirectory(_path.scenario_dir, NULL); } -int snprintf(char *str, size_t size, const char *format, ...) +int CDECL snprintf(char *str, size_t size, const char *format, ...) { va_list ap; int ret; @@ -2085,7 +2085,7 @@ int snprintf(char *str, size_t size, const char *format, ...) return ret; } -int vsnprintf(char *str, size_t size, const char *format, va_list ap) +int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap) { int ret; ret = _vsnprintf(str, size, format, ap); |