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 | dfe6c34bf1e872d76c4c3d9468684117e52e0020 (patch) | |
tree | 6908a99af003607cae0beeaf6445aa24bb9b7f73 | |
parent | 22d36985cd7e1e16c008bfaecc7d98fde6e09d5d (diff) | |
download | openttd-dfe6c34bf1e872d76c4c3d9468684117e52e0020.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; |