diff src/editfns.c @ 72669:d8f99fba05ca

(Fformat_time_string): Use make_unibyte_string to make a Lisp string from the result of emacs_memftimeu call.
author Kenichi Handa <handa@m17n.org>
date Wed, 06 Sep 2006 06:40:52 +0000
parents f6de516bbb4b
children 9128a4531448 84dd84b43e1b
line wrap: on
line diff
--- a/src/editfns.c	Wed Sep 06 02:45:03 2006 +0000
+++ b/src/editfns.c	Wed Sep 06 06:40:52 2006 +0000
@@ -1694,7 +1694,7 @@
 				SBYTES (format_string),
 				tm, ut);
       if ((result > 0 && result < size) || (result == 0 && buf[0] == '\0'))
-	return code_convert_string_norecord (make_string (buf, result),
+	return code_convert_string_norecord (make_unibyte_string (buf, result),
 					     Vlocale_coding_system, 0);
 
       /* If buffer was too small, make it bigger and try again.  */