forked from mirror/OpenTTD
(svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx)
This commit is contained in:
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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user