summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-06-02 14:30:55 +0000
committerglx <glx@openttd.org>2008-06-02 14:30:55 +0000
commit014cb33bb9d0d4e2843b73281b42f9b88bbc1d09 (patch)
tree8981ce51371879709dbff360b5747dd9343f9b64 /src
parent11cdcf875c7e2d0900429b83195ad6aac5ce6d2e (diff)
downloadopenttd-014cb33bb9d0d4e2843b73281b42f9b88bbc1d09.tar.xz
(svn r13361) -Fix (r13360): regexp failed
Diffstat (limited to 'src')
-rw-r--r--src/os2.cpp2
-rw-r--r--src/win32.cpp4
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);