summaryrefslogtreecommitdiff
path: root/texteff.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-15 15:48:05 +0000
committerdarkvater <darkvater@openttd.org>2005-01-15 15:48:05 +0000
commitef3b9161f8f106a7cf6b02766fac06d92523816a (patch)
tree174b12956255bea6bb6661e6e5a30597c730575c /texteff.c
parent559317f9d0ed7d32cff54939a3296922e3fae066 (diff)
downloadopenttd-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 'texteff.c')
-rw-r--r--texteff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/texteff.c b/texteff.c
index e9510fc57..a3183b9d0 100644
--- a/texteff.c
+++ b/texteff.c
@@ -46,7 +46,7 @@ static byte _textmessage_backup[150*400]; // (y * max_width)
extern void memcpy_pitch(void *d, void *s, int w, int h, int spitch, int dpitch);
// Duration is in game-days
-void AddTextMessage(uint16 color, uint8 duration, const char *message, ...)
+void CDECL AddTextMessage(uint16 color, uint8 duration, const char *message, ...)
{
int i;
char buf[1024];