diff src/fileio.c @ 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 58db929d96c6
children e24e2e78deda
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);
 	      }
 	  }