diff options
| author | Paul Eggert | 2011-05-15 22:18:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-15 22:18:38 -0700 |
| commit | ef3ff03613106225ad047d1dd04219d460e897d9 (patch) | |
| tree | 047593beccd3abe17d85254a906a2790c886cbae /src | |
| parent | 07156b3538e4de0baec3adbe498673f92c34fd90 (diff) | |
| download | emacs-ef3ff03613106225ad047d1dd04219d460e897d9.tar.gz emacs-ef3ff03613106225ad047d1dd04219d460e897d9.zip | |
* character.c: Minor spelling and indenting fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/character.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/character.c b/src/character.c index a03c081a716..b9595f97ec7 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -476,7 +476,7 @@ lisp_string_width (Lisp_Object string, EMACS_INT precision, | |||
| 476 | i += chars; | 476 | i += chars; |
| 477 | i_byte += bytes; | 477 | i_byte += bytes; |
| 478 | width += thiswidth; | 478 | width += thiswidth; |
| 479 | } | 479 | } |
| 480 | 480 | ||
| 481 | if (precision > 0) | 481 | if (precision > 0) |
| 482 | { | 482 | { |
| @@ -683,7 +683,7 @@ parse_str_to_multibyte (const unsigned char *str, EMACS_INT len) | |||
| 683 | } | 683 | } |
| 684 | 684 | ||
| 685 | 685 | ||
| 686 | /* Convert unibyte text at STR of NBYTES bytes to a multibyte text | 686 | /* Convert unibyte text at STR of BYTES bytes to a multibyte text |
| 687 | that contains the same single-byte characters. It actually | 687 | that contains the same single-byte characters. It actually |
| 688 | converts all 8-bit characters to multibyte forms. It is assured | 688 | converts all 8-bit characters to multibyte forms. It is assured |
| 689 | that we can use LEN bytes at STR as a work area and that is | 689 | that we can use LEN bytes at STR as a work area and that is |
| @@ -844,6 +844,7 @@ string_escape_byte8 (Lisp_Object string) | |||
| 844 | { | 844 | { |
| 845 | if ((MOST_POSITIVE_FIXNUM - nchars) / 3 < byte8_count) | 845 | if ((MOST_POSITIVE_FIXNUM - nchars) / 3 < byte8_count) |
| 846 | string_overflow (); | 846 | string_overflow (); |
| 847 | |||
| 847 | /* Convert 1-byte sequence of byte8 chars to 4-byte octal. */ | 848 | /* Convert 1-byte sequence of byte8 chars to 4-byte octal. */ |
| 848 | val = make_uninit_string (nbytes + byte8_count * 3); | 849 | val = make_uninit_string (nbytes + byte8_count * 3); |
| 849 | } | 850 | } |