소스 검색

* Added missing ASCII characters to cucul_rotate().

tags/v0.99.beta14
Sam Hocevar sam 18 년 전
부모
커밋
caa62f3158
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. +6
    -4
      cucul/transform.c

+ 6
- 4
cucul/transform.c 파일 보기

@@ -258,7 +258,7 @@ static uint32_t rotatechar(uint32_t ch)

static uint32_t const norotate[] =
{
/* ASCII */
/* ASCII - FIXME: a lot are missing */
(uint32_t)' ', (uint32_t)'*', (uint32_t)'+', (uint32_t)'-',
(uint32_t)'0', (uint32_t)'8', (uint32_t)':', (uint32_t)'=',
/* Unicode */
@@ -269,9 +269,11 @@ static uint32_t rotatechar(uint32_t ch)
static uint32_t const pairs[] =
{
/* ASCII */
(uint32_t)'(', (uint32_t)')', (uint32_t)'M', (uint32_t)'W',
(uint32_t)'b', (uint32_t)'q', (uint32_t)'d', (uint32_t)'p',
(uint32_t)'n', (uint32_t)'u', (uint32_t)'.', (uint32_t)'\'',
(uint32_t)'(', (uint32_t)')', (uint32_t)'<', (uint32_t)'>',
(uint32_t)'[', (uint32_t)']', (uint32_t)'{', (uint32_t)'}',
(uint32_t)'.', (uint32_t)'\'',
(uint32_t)'M', (uint32_t)'W', (uint32_t)'b', (uint32_t)'q',
(uint32_t)'d', (uint32_t)'p', (uint32_t)'n', (uint32_t)'u',
/* ASCII-Unicode */
(uint32_t)'_', 0x2594, /* _ ▔ */
(uint32_t)',', 0x02bb, /* , ʻ */


불러오는 중...
취소
저장