Mercurial > emacs
diff src/character.c @ 100139:fc199de00487
* keyboard.c (read_char_help_form_unwind): Specify the type for ARG.
* character.c (c_string_width): Specify the type for LEN.
| author | Dan Nicolaescu <dann@ics.uci.edu> |
|---|---|
| date | Wed, 03 Dec 2008 02:40:26 +0000 |
| parents | e228d5755549 |
| children | e038c1a8307c |
line wrap: on
line diff
--- a/src/character.c Wed Dec 03 02:33:39 2008 +0000 +++ b/src/character.c Wed Dec 03 02:40:26 2008 +0000 @@ -411,9 +411,7 @@ 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;
