(svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx)

This commit is contained in:
darkvater 2005-04-05 21:09:36 +00:00
parent 22d36985cd
commit dfe6c34bf1

View File

@ -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;