(Fformat_time_string): Use make_unibyte_string to make
a Lisp string from the result of emacs_memftimeu call.
This commit is contained in:
parent
8687849bab
commit
04e28558df
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-09-06 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* editfns.c (Fformat_time_string): Use make_unibyte_string to make
|
||||
a Lisp string from the result of emacs_memftimeu call.
|
||||
|
||||
2006-09-06 Kim F. Storm <storm@cua.dk>
|
||||
|
||||
* xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg;
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue