diff options
author | darkvater <darkvater@openttd.org> | 2005-04-05 21:09:36 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-04-05 21:09:36 +0000 |
commit | 50003f4ed947a2b19d05d89fd5f016b98481415c (patch) | |
tree | 6908a99af003607cae0beeaf6445aa24bb9b7f73 | |
parent | 648fa7c97d817e218722f2b54db0a6e49c72ddc9 (diff) | |
download | openttd-50003f4ed947a2b19d05d89fd5f016b98481415c.tar.xz |
(svn r2153) - Fix: [ 1173690 ] Path displaying as "C:\\" in saveload window win32-only (glx)
-rw-r--r-- | win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |