diff --git a/win32.c b/win32.c index c633e63e82..8a2120d903 100644 --- a/win32.c +++ b/win32.c @@ -1820,7 +1820,7 @@ char *FiosBrowseTo(const FiosItem *item) case FIOS_TYPE_DIR: s = strchr(item->name, '\\'); if (s != NULL) *s = '\0'; - strcat(path, "\\"); + if (path[3]!= '\0' ) strcat(path, "\\"); strcat(path, item->name); break;