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
* Check that a caca_figfont was loaded before using it in caca_put_figchar()
tags/v0.99.beta17
Nicolas Vion
nico
16 years ago
parent
7f6e6d3fd8
commit
f016c8f416
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
caca/figfont.c
+ 3
- 0
caca/figfont.c
View File
@@ -132,6 +132,9 @@ int caca_put_figchar(caca_canvas_t *cv, uint32_t ch)
caca_figfont_t *ff = cv->ff;
int c, w, h, x, y, overlap, extra, xleft, xright;
if (!ff)
return -1;
switch(ch)
{
case (uint32_t)'\r':
Write
Preview
Loading…
Cancel
Save