forked from mirror/OpenTTD
Fix: Globally apply preprocessor directive coding style
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
This commit is contained in:
committed by
Niels Martin Hansen
parent
97592c4093
commit
716c883737
@@ -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);
|
||||
|
Reference in New Issue
Block a user