summaryrefslogtreecommitdiff
path: root/src/ini.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ini.cpp')
-rw-r--r--src/ini.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ini.cpp b/src/ini.cpp
index f81d109ff..6948bc1ea 100644
--- a/src/ini.cpp
+++ b/src/ini.cpp
@@ -90,7 +90,7 @@ bool IniFile::SaveToDisk(const char *filename)
#if defined(_WIN32)
/* _tcsncpy = strcpy is TCHAR is char, but isn't when TCHAR is wchar. */
- #undef strncpy
+# undef strncpy
/* Allocate space for one more \0 character. */
TCHAR tfilename[MAX_PATH + 1], tfile_new[MAX_PATH + 1];
_tcsncpy(tfilename, OTTD2FS(filename), MAX_PATH);