From 71fb375f8cf82522650d3ec7599b098de3fbd2ce Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 28 Oct 2005 00:09:59 +0000 Subject: (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. --- unix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'unix.c') diff --git a/unix.c b/unix.c index 3fb95569f..c9dcee80b 100644 --- a/unix.c +++ b/unix.c @@ -311,6 +311,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: -- cgit v1.2.3-54-g00ecf