mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-12 03:36:57 +08:00
处理编译失败的地方
This commit is contained in:
parent
7b66f6a82e
commit
aaf31478bc
@ -391,7 +391,7 @@ acf_canvas_t acf_get_canvas(acf_rectedge_t width, acf_text_t text, acf_rectedge_
|
|||||||
return canvas;
|
return canvas;
|
||||||
}
|
}
|
||||||
|
|
||||||
acf_canvas_t acf_calculate(acf_rectedge_t width, acf_text_t text, acf_rectedge_t *realwidth, acf_counter_t *renderedcnt, acf_text_t *rest)
|
acf_error_t acf_calculate(acf_rectedge_t width, acf_text_t text, acf_rectedge_t *realwidth, acf_counter_t *renderedcnt, acf_text_t *rest)
|
||||||
{
|
{
|
||||||
FHandle font;
|
FHandle font;
|
||||||
if( gblfont.filename == NULL || RES_OK != fOpen(&font, gblfont.filename, FA_OPEN_EXISTING | FA_READ) )
|
if( gblfont.filename == NULL || RES_OK != fOpen(&font, gblfont.filename, FA_OPEN_EXISTING | FA_READ) )
|
||||||
|
@ -129,7 +129,7 @@ scanEnd:
|
|||||||
|
|
||||||
if( match != NULL )
|
if( match != NULL )
|
||||||
{
|
{
|
||||||
for( int i=0; i < dList->num; ++i )
|
for( u32 i=0; i < dList->num; ++i )
|
||||||
{
|
{
|
||||||
if( strcmp(match, &dList->ptrs[i][1]) == 0 )
|
if( strcmp(match, &dList->ptrs[i][1]) == 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user