diff options
author | truelight <truelight@openttd.org> | 2007-08-04 12:53:41 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-08-04 12:53:41 +0000 |
commit | 424757c078410041cce35a8678b59b7a56c47ccb (patch) | |
tree | 95e47824c2caa1c36c3ad2d37010fe7f16650f26 /src/fios.cpp | |
parent | cb9d0c69d1fac53c479b678741f82df084b1b5ba (diff) | |
download | openttd-424757c078410041cce35a8678b59b7a56c47ccb.tar.xz |
(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
-Fix: WinCE doesn't support console
-Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
Diffstat (limited to 'src/fios.cpp')
-rw-r--r-- | src/fios.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fios.cpp b/src/fios.cpp index 0f347d1a7..31c3d8390 100644 --- a/src/fios.cpp +++ b/src/fios.cpp @@ -108,7 +108,9 @@ char *FiosBrowseTo(const FiosItem *item) char *path = _fios_path; switch (item->type) { -#if defined(WIN32) || defined(__OS2__) +#if defined(WINCE) + case FIOS_TYPE_DRIVE: sprintf(path, PATHSEP ""); break; +#elif defined(WIN32) || defined(__OS2__) case FIOS_TYPE_DRIVE: sprintf(path, "%c:" PATHSEP, item->title[0]); break; #endif |