소스 검색

* Check that a caca_figfont was loaded before using it in caca_put_figchar()

tags/v0.99.beta17
Nicolas Vion nico 16 년 전
부모
커밋
f016c8f416
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      caca/figfont.c

+ 3
- 0
caca/figfont.c 파일 보기

@@ -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':


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