commit | ed343a2b03b348580a1c2610b09bd8bfa7306b44 | [log] [tgz] |
---|---|---|
author | Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> | Fri May 19 03:37:53 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri May 19 03:37:53 2000 +0000 |
tree | 2fe35203e0c6a24888e9751e4339414593b80392 | |
parent | 7b217a67f544d35bcadfb863842e547c86e1a7c0 [diff] [blame] |
DOSFS_DoGetFullPathName: terminate string weh called like .\\file
diff --git a/files/dos_fs.c b/files/dos_fs.c index 3ca9cd0..3d45991 100644 --- a/files/dos_fs.c +++ b/files/dos_fs.c
@@ -1177,7 +1177,7 @@ while ((p = strstr(full_name.short_name,"\\.\\"))) { *(p+1) = 0; - memmove(p+1,p+3,strlen(p+3)); + memmove(p+1,p+3,strlen(p+3)+1); } if (!(DRIVE_GetFlags(drive) & DRIVE_CASE_PRESERVING)) CharUpperA( full_name.short_name );