Mercurial > emacs
comparison src/coding.h @ 88498:1dd66ce3fc9c
(JIS_TO_SJIS): Fix typo (j1->s1, j2->s2).
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Tue, 14 May 2002 08:01:27 +0000 |
| parents | d29ddd7d50f9 |
| children | d429f57602b9 |
comparison
equal
deleted
inserted
replaced
| 88497:d2b9e0d4c2f6 | 88498:1dd66ce3fc9c |
|---|---|
| 471 (s1 = j1 / 2 + ((j1 < 0x5F) ? 0x71 : 0xB1), \ | 471 (s1 = j1 / 2 + ((j1 < 0x5F) ? 0x71 : 0xB1), \ |
| 472 s2 = j2 + ((j2 >= 0x60) ? 0x20 : 0x1F)); \ | 472 s2 = j2 + ((j2 >= 0x60) ? 0x20 : 0x1F)); \ |
| 473 else \ | 473 else \ |
| 474 (s1 = j1 / 2 + ((j1 < 0x5F) ? 0x70 : 0xB0), \ | 474 (s1 = j1 / 2 + ((j1 < 0x5F) ? 0x70 : 0xB0), \ |
| 475 s2 = j2 + 0x7E); \ | 475 s2 = j2 + 0x7E); \ |
| 476 (code) = (j1 << 8) | j2; \ | 476 (code) = (s1 << 8) | s2; \ |
| 477 } while (0) | 477 } while (0) |
| 478 | 478 |
| 479 | 479 |
| 480 /* Encode the file name NAME using the specified coding system | 480 /* Encode the file name NAME using the specified coding system |
| 481 for file names, if any. */ | 481 for file names, if any. */ |
