1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-17 19:49:10 +00:00

(svn r3096) - Feature: 'HOME' icon to saveload dialogs that jumps to the default save/load directory based on the dialog (added icon to openttd.grf, introduced FIOS_TYPE_DIRECT that allows arbitrary directory jumping).

- Fix: on Win32 capitalize the drive-letter in the saveload dialog windows when it is first opened.
This commit is contained in:
Darkvater
2005-10-28 00:09:59 +00:00
parent 1cc5379706
commit f561993112
9 changed files with 62 additions and 19 deletions

4
os2.c
View File

@@ -354,6 +354,10 @@ char *FiosBrowseTo(const FiosItem *item)
strcat(path, item->name);
break;
case FIOS_TYPE_DIRECT:
sprintf(path, "%s\\", item->name);
break;
case FIOS_TYPE_FILE:
case FIOS_TYPE_OLDFILE:
case FIOS_TYPE_SCENARIO: