summaryrefslogtreecommitdiff
path: root/src/fileio.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-17 21:26:57 +0000
committerrubidium <rubidium@openttd.org>2007-06-17 21:26:57 +0000
commite2f839b6a2bbbfcb895d6649955b0442e75a57be (patch)
tree8582ba42ead1289e16f41f77c1a8bd9e8283a7b7 /src/fileio.h
parentcdf6192ce0cd1c5d7fa24c760f556ad16e86924f (diff)
downloadopenttd-e2f839b6a2bbbfcb895d6649955b0442e75a57be.tar.xz
(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
Diffstat (limited to 'src/fileio.h')
-rw-r--r--src/fileio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.h b/src/fileio.h
index 47ca115f7..15047f7c5 100644
--- a/src/fileio.h
+++ b/src/fileio.h
@@ -40,9 +40,9 @@ enum Subdirectory {
* Types of searchpaths OpenTTD might use
*/
enum Searchpath {
+ SP_WORKING_DIR, ///< Search in the working directory
SP_PERSONAL_DIR, ///< Search in the personal directory
SP_SHARED_DIR, ///< Search in the shared directory, like 'Shared Files' under Windows
- SP_WORKING_DIR, ///< Search in the working directory
SP_BINARY_DIR, ///< Search in the directory where the binary resides
SP_INSTALLATION_DIR, ///< Search in the installation directory
SP_APPLICATION_BUNDLE_DIR, ///< Search within the application bundle