Merge branch 'cpp-11' into crashlog_improvements
# Conflicts: # src/stdafx.h
This commit is contained in:
@@ -79,8 +79,8 @@ END
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,6,0,!!REVISION!!
|
||||
PRODUCTVERSION 1,6,0,!!REVISION!!
|
||||
FILEVERSION 1,7,0,!!REVISION!!
|
||||
PRODUCTVERSION 1,7,0,!!REVISION!!
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -100,7 +100,7 @@ BEGIN
|
||||
VALUE "FileDescription", "OpenTTD\0"
|
||||
VALUE "FileVersion", "!!VERSION!!\0"
|
||||
VALUE "InternalName", "openttd\0"
|
||||
VALUE "LegalCopyright", "Copyright \xA9 OpenTTD Developers 2002-2015. All Rights Reserved.\0"
|
||||
VALUE "LegalCopyright", "Copyright \xA9 OpenTTD Developers 2002-2016. All Rights Reserved.\0"
|
||||
VALUE "LegalTrademarks", "\0"
|
||||
VALUE "OriginalFilename", "openttd.exe\0"
|
||||
VALUE "PrivateBuild", "\0"
|
||||
|
@@ -208,11 +208,11 @@ bool FiosIsRoot(const char *file)
|
||||
return file[3] == '\0'; // C:\...
|
||||
}
|
||||
|
||||
void FiosGetDrives()
|
||||
void FiosGetDrives(FileList &file_list)
|
||||
{
|
||||
#if defined(WINCE)
|
||||
/* WinCE only knows one drive: / */
|
||||
FiosItem *fios = _fios_items.Append();
|
||||
FiosItem *fios = file_list.Append();
|
||||
fios->type = FIOS_TYPE_DRIVE;
|
||||
fios->mtime = 0;
|
||||
seprintf(fios->name, lastof(fios->name), PATHSEP "");
|
||||
@@ -223,7 +223,7 @@ void FiosGetDrives()
|
||||
|
||||
GetLogicalDriveStrings(lengthof(drives), drives);
|
||||
for (s = drives; *s != '\0';) {
|
||||
FiosItem *fios = _fios_items.Append();
|
||||
FiosItem *fios = file_list.Append();
|
||||
fios->type = FIOS_TYPE_DRIVE;
|
||||
fios->mtime = 0;
|
||||
seprintf(fios->name, lastof(fios->name), "%c:", s[0] & 0xFF);
|
||||
|
Reference in New Issue
Block a user