1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r1509) Const correctness and add static where appropriate while touching the lines anyway

This commit is contained in:
tron
2005-01-14 19:44:42 +00:00
parent 4136f395bf
commit 3a838447a8
4 changed files with 11 additions and 9 deletions

2
unix.c
View File

@@ -263,7 +263,7 @@ char *FiosBrowseTo(const FiosItem *item)
break;
case FIOS_TYPE_DIR:
s = strchr((char*)item->name, '/');
s = strchr(item->name, '/');
if (s) *s = 0;
while (*path) path++;
*path++ = '/';