diff options
| author | Kenichi Handa | 2000-05-20 00:04:05 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-05-20 00:04:05 +0000 |
| commit | eba90784ce2bca76105770b44da0a60063e59f94 (patch) | |
| tree | 5343a67406ffeb13fdf47ca54bab4b6fc8acf1a0 /src | |
| parent | 1426aa5c93c3efdb08ec52924f18102c7e6ed62d (diff) | |
| download | emacs-eba90784ce2bca76105770b44da0a60063e59f94.tar.gz emacs-eba90784ce2bca76105770b44da0a60063e59f94.zip | |
(print_object): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/print.c b/src/print.c index 2379e9d4930..6f4a2105b6e 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1434,12 +1434,7 @@ print_object (obj, printcharfun, escapeflag) | |||
| 1434 | { | 1434 | { |
| 1435 | /* Here, we must convert each multi-byte form to the | 1435 | /* Here, we must convert each multi-byte form to the |
| 1436 | corresponding character code before handing it to PRINTCHAR. */ | 1436 | corresponding character code before handing it to PRINTCHAR. */ |
| 1437 | 1437 | FETCH_STRING_CHAR_ADVANCE (c, name, i, i_byte); | |
| 1438 | if (STRING_MULTIBYTE (name)) | ||
| 1439 | FETCH_STRING_CHAR_ADVANCE (c, name, i, i_byte); | ||
| 1440 | else | ||
| 1441 | c = XSTRING (name)->data[i_byte++]; | ||
| 1442 | |||
| 1443 | QUIT; | 1438 | QUIT; |
| 1444 | 1439 | ||
| 1445 | if (escapeflag) | 1440 | if (escapeflag) |