diff --git a/src/font/textlayer.c b/src/font/textlayer.c index 64f51d2b..e093eace 100644 --- a/src/font/textlayer.c +++ b/src/font/textlayer.c @@ -29,7 +29,7 @@ */ #include -#include +#include #include #include #include @@ -625,7 +625,7 @@ static void TextLayer_TextRowTypeset(LCUI_TextLayer layer, int row) if (!txtchar->bitmap) { continue; } - if (!isalpha(txtchar->code)) { + if (!iswalpha(txtchar->code)) { word_col = col + 1; } /* 累加行宽度 */