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
* Fixed a bug in cucul_putchar() that broke half of the Unicode set.
tags/v0.99.beta14
Sam Hocevar
sam
18 years ago
parent
682d2d297b
commit
5ee52bfd42
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cucul/canvas.c
+ 1
- 1
cucul/canvas.c
View File
@@ -65,7 +65,7 @@ int cucul_putchar(cucul_canvas_t *cv, int x, int y, unsigned long int ch)
if(x < 0 || x >= (int)cv->width || y < 0 || y >= (int)cv->height)
return 0;
if(
(unsigned char)
ch < 0x20)
if(ch < 0x20)
ch = 0x20;
cv->chars[x + y * cv->width] = ch;
Write
Preview
Loading…
Cancel
Save