changeset 89998:226b3b1d1aff

(Fsubstitute_in_file_name): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Mon, 04 Oct 2004 01:21:43 +0000
parents c9046301e28b
children 66fccc455c7a
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Mon Oct 04 01:19:47 2004 +0000
+++ b/src/fileio.c	Mon Oct 04 01:21:43 2004 +0000
@@ -2254,8 +2254,8 @@
 	       convert what we substitute into multibyte.  */
 	    while (*o)
 	      {
-		int c = unibyte_char_to_multibyte (*o);
-		o++;
+		int c = *o++;
+		c = unibyte_char_to_multibyte (c);
 		x += CHAR_STRING (c, x);
 	      }
 	  }