1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

* keyboard.c (read_char_help_form_unwind): Specify the type for ARG.

* character.c (c_string_width): Specify the type for LEN.
This commit is contained in:
Dan Nicolaescu 2008-12-03 02:40:26 +00:00
parent 5ccafc2c2d
commit 63c125ab03
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
* keyboard.c (read_char_help_form_unwind): Specify the type for ARG.
* character.c (c_string_width): Specify the type for LEN.
2008-12-03 Kenichi Handa <handa@m17n.org>
* coding.c (decode_coding_utf_16): Initialize consumed_chars_base

View File

@ -411,9 +411,7 @@ usage: (char-width CHAR) */)
respectively. */
int
c_string_width (str, len, precision, nchars, nbytes)
const unsigned char *str;
int precision, *nchars, *nbytes;
c_string_width (const unsigned char *str, int len, int precision, int *nchars, int *nbytes)
{
int i = 0, i_byte = 0;
int width = 0;

View File

@ -2429,7 +2429,7 @@ static void record_char ();
static Lisp_Object help_form_saved_window_configs;
static Lisp_Object
read_char_help_form_unwind (arg)
read_char_help_form_unwind (Lisp_Object arg)
{
Lisp_Object window_config = XCAR (help_form_saved_window_configs);
help_form_saved_window_configs = XCDR (help_form_saved_window_configs);