summaryrefslogtreecommitdiff
path: root/src/ini.cpp
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-07-03 09:36:10 +1200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2020-07-03 09:08:46 +0200
commit716c883737b76757e0f3bcddeacc1e276dfff13b (patch)
treeafd30f0dc704eb6264499b1999a2a0f9d48d69f8 /src/ini.cpp
parent97592c409378c2d353a1cdd6b50f80b7e81b67c2 (diff)
downloadopenttd-716c883737b76757e0f3bcddeacc1e276dfff13b.tar.xz
Fix: Globally apply preprocessor directive coding style
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
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);