aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2006-09-06 06:41:40 +0000
committerKenichi Handa <[email protected]>2006-09-06 06:41:40 +0000
commit04e28558df772845d83d5e870300b755b2528b57 (patch)
treeb57b638afdbb348fb882995ca9963a3f12607ff4 /src/editfns.c
parent8687849bab4bd39395fc3c6ef814ef738ddf8ed8 (diff)
(Fformat_time_string): Use make_unibyte_string to make
a Lisp string from the result of emacs_memftimeu call.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 2c392df564..1b89bb3668 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1694,7 +1694,7 @@ For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z". */)
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. */