diff options
Diffstat (limited to 'src/emacs-module.c')
-rw-r--r-- | src/emacs-module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c index d56d03203b1..911b82b8a1a 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -637,7 +637,7 @@ module_copy_string_contents (emacs_env *env, emacs_value value, char *buffer, /* Since we set HANDLE-8-BIT and HANDLE-OVER-UNI to nil, the return value can be nil, and we have to check for that. */ - CHECK_TYPE (!NILP (lisp_str_utf8), Qunicode_string_p, lisp_str_utf8); + CHECK_TYPE (!NILP (lisp_str_utf8), Qunicode_string_p, lisp_str); ptrdiff_t raw_size = SBYTES (lisp_str_utf8); ptrdiff_t required_buf_size = raw_size + 1; |