diff options
author | glx <glx@openttd.org> | 2008-06-02 14:30:55 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-06-02 14:30:55 +0000 |
commit | 014cb33bb9d0d4e2843b73281b42f9b88bbc1d09 (patch) | |
tree | 8981ce51371879709dbff360b5747dd9343f9b64 | |
parent | 11cdcf875c7e2d0900429b83195ad6aac5ce6d2e (diff) | |
download | openttd-014cb33bb9d0d4e2843b73281b42f9b88bbc1d09.tar.xz |
(svn r13361) -Fix (r13360): regexp failed
-rw-r--r-- | src/os2.cpp | 2 | ||||
-rw-r--r-- | src/win32.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/os2.cpp b/src/os2.cpp index 4e95103dc..3e54bb5ad 100644 --- a/src/os2.cpp +++ b/src/os2.cpp @@ -67,7 +67,7 @@ void FiosGetDrives() #endif if (disk == disk2) { - FiosItem *fios = _fios_items.Append()(); + FiosItem *fios = _fios_items.Append(); fios->type = FIOS_TYPE_DRIVE; fios->mtime = 0; #ifndef __INNOTEK_LIBC__ diff --git a/src/win32.cpp b/src/win32.cpp index 9f671c9f6..21ddfed03 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -780,7 +780,7 @@ void FiosGetDrives() { #if defined(WINCE) /* WinCE only knows one drive: / */ - FiosItem *fios = _fios_items.Append()(); + FiosItem *fios = _fios_items.Append(); fios->type = FIOS_TYPE_DRIVE; fios->mtime = 0; snprintf(fios->name, lengthof(fios->name), PATHSEP ""); @@ -791,7 +791,7 @@ void FiosGetDrives() GetLogicalDriveStrings(sizeof(drives), drives); for (s = drives; *s != '\0';) { - FiosItem *fios = _fios_items.Append()(); + FiosItem *fios = _fios_items.Append(); fios->type = FIOS_TYPE_DRIVE; fios->mtime = 0; snprintf(fios->name, lengthof(fios->name), "%c:", s[0] & 0xFF); |