summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-24 12:08:25 +0000
committertruelight <truelight@openttd.org>2006-08-24 12:08:25 +0000
commit76bcaba6011b4a3a3f2c3dcd65e3438bb46b79f0 (patch)
tree90e4385ba5c5f0ec5803661e46a5dbdf086057c6 /win32.c
parentd14ac4478d35f7ae9b7ced6e78673a27a85fc878 (diff)
downloadopenttd-76bcaba6011b4a3a3f2c3dcd65e3438bb46b79f0.tar.xz
(svn r6089) -Backport r6088: added -s (source) and -d (destination) to strgen (Darkvater)
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/win32.c b/win32.c
index 6c692dced..4070f8546 100644
--- a/win32.c
+++ b/win32.c
@@ -917,27 +917,6 @@ void DeterminePaths(void)
CreateDirectory(_path.heightmap_dir, NULL);
}
-int CDECL snprintf(char *str, size_t size, const char *format, ...)
-{
- va_list ap;
- int ret;
-
- va_start(ap, format);
- ret = vsnprintf(str, size, format, ap);
- va_end(ap);
- return ret;
-}
-
-#ifdef _MSC_VER
-int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap)
-{
- int ret;
- ret = _vsnprintf(str, size, format, ap);
- if (ret < 0) str[size - 1] = '\0';
- return ret;
-}
-#endif
-
/**
* Insert a chunk of text from the clipboard onto the textbuffer. Get TEXT clipboard
* and append this up to the maximum length (either absolute or screenlength). If maxlength