changeset 50212:e4c663d6815c

(Fexpand_file_name): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Fri, 21 Mar 2003 05:40:53 +0000
parents 64a900db8d32
children f72d2bd8118d
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu Mar 20 18:01:58 2003 +0000
+++ b/src/fileio.c	Fri Mar 21 05:40:53 2003 +0000
@@ -1299,7 +1299,7 @@
 	  if (strcmp (nm - 2, SDATA (name)) != 0)
 	    {
 	      name
-		= make_specified_string (nm, -1, strlen (nm),
+		= make_specified_string (nm - 2, -1, p - nm + 2,
 					 STRING_MULTIBYTE (name));
 	      SSET (name, 0, DRIVE_LETTER (drive));
 	      SSET (name, 1, ':');