This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
* Slight improvement to the Unicode -> ASCII conversion, courtesy of
Ben Wiley Sittler.
tags/v0.99.beta14
Sam Hocevar
sam
17 years ago
parent
d06bf76c96
commit
dd6a99a395
1 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
cucul/charset.c
+ 4
- 2
cucul/charset.c
View File
@@ -349,8 +349,6 @@ char cucul_utf32_to_ascii(unsigned long int ch)
case 0x00002591: /* ░ */
case 0x00002592: /* ▒ */
case 0x00002593: /* ▓ */
case 0x00002580: /* ▀ */
case 0x00002584: /* ▄ */
case 0x00002588: /* █ */
case 0x0000258c: /* ▌ */
case 0x00002590: /* ▐ */
@@ -358,6 +356,10 @@ char cucul_utf32_to_ascii(unsigned long int ch)
case 0x000025ac: /* ▬ */
case 0x000025ae: /* ▮ */
return '#';
case 0x00002580: /* ▀ */
return '"';
case 0x00002584: /* ▄ */
return ',';
case 0x000025c6: /* ◆ */
case 0x00002666: /* ♦ */
return '+';
Write
Preview
Loading…
Cancel
Save