mirror of https://github.com/OpenTTD/OpenTTD
(svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx)
parent
22d36985cd
commit
dfe6c34bf1
2
win32.c
2
win32.c
|
@ -1820,7 +1820,7 @@ char *FiosBrowseTo(const FiosItem *item)
|
||||||
case FIOS_TYPE_DIR:
|
case FIOS_TYPE_DIR:
|
||||||
s = strchr(item->name, '\\');
|
s = strchr(item->name, '\\');
|
||||||
if (s != NULL) *s = '\0';
|
if (s != NULL) *s = '\0';
|
||||||
strcat(path, "\\");
|
if (path[3]!= '\0' ) strcat(path, "\\");
|
||||||
strcat(path, item->name);
|
strcat(path, item->name);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue