mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-24 06:00:05 +01:00
(svn r13361) -Fix (r13360): regexp failed
This commit is contained in:
parent
11cdcf875c
commit
014cb33bb9
@ -67,7 +67,7 @@ void FiosGetDrives()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (disk == disk2) {
|
if (disk == disk2) {
|
||||||
FiosItem *fios = _fios_items.Append()();
|
FiosItem *fios = _fios_items.Append();
|
||||||
fios->type = FIOS_TYPE_DRIVE;
|
fios->type = FIOS_TYPE_DRIVE;
|
||||||
fios->mtime = 0;
|
fios->mtime = 0;
|
||||||
#ifndef __INNOTEK_LIBC__
|
#ifndef __INNOTEK_LIBC__
|
||||||
|
@ -780,7 +780,7 @@ void FiosGetDrives()
|
|||||||
{
|
{
|
||||||
#if defined(WINCE)
|
#if defined(WINCE)
|
||||||
/* WinCE only knows one drive: / */
|
/* WinCE only knows one drive: / */
|
||||||
FiosItem *fios = _fios_items.Append()();
|
FiosItem *fios = _fios_items.Append();
|
||||||
fios->type = FIOS_TYPE_DRIVE;
|
fios->type = FIOS_TYPE_DRIVE;
|
||||||
fios->mtime = 0;
|
fios->mtime = 0;
|
||||||
snprintf(fios->name, lengthof(fios->name), PATHSEP "");
|
snprintf(fios->name, lengthof(fios->name), PATHSEP "");
|
||||||
@ -791,7 +791,7 @@ void FiosGetDrives()
|
|||||||
|
|
||||||
GetLogicalDriveStrings(sizeof(drives), drives);
|
GetLogicalDriveStrings(sizeof(drives), drives);
|
||||||
for (s = drives; *s != '\0';) {
|
for (s = drives; *s != '\0';) {
|
||||||
FiosItem *fios = _fios_items.Append()();
|
FiosItem *fios = _fios_items.Append();
|
||||||
fios->type = FIOS_TYPE_DRIVE;
|
fios->type = FIOS_TYPE_DRIVE;
|
||||||
fios->mtime = 0;
|
fios->mtime = 0;
|
||||||
snprintf(fios->name, lengthof(fios->name), "%c:", s[0] & 0xFF);
|
snprintf(fios->name, lengthof(fios->name), "%c:", s[0] & 0xFF);
|
||||||
|
Loading…
Reference in New Issue
Block a user