瀏覽代碼

Merge 6456ce9b09 into f42aa68fc7

pull/81/merge
Richard Barnes GitHub 7 月之前
父節點
當前提交
a05d3c5ee1
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      caca/charset.c

+ 2
- 2
caca/charset.c 查看文件

@@ -169,8 +169,8 @@ size_t caca_utf32_to_utf8(char *buf, uint32_t ch)

switch(bytes)
{
case 4: *--parser = (ch | 0x80) & 0xbf; ch >>= 6;
case 3: *--parser = (ch | 0x80) & 0xbf; ch >>= 6;
case 4: *--parser = (ch | 0x80) & 0xbf; ch >>= 6; __attribute__((fallthrough));
case 3: *--parser = (ch | 0x80) & 0xbf; ch >>= 6; __attribute__((fallthrough));
case 2: *--parser = (ch | 0x80) & 0xbf; ch >>= 6;
}
*--parser = ch | mark[bytes];


Loading…
取消
儲存