changeset 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 5a0fb2945b46
children 65db3e72f648
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.  */