mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
fix(textlayer): isalpha() assertion failed
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <wctype.h>
|
||||
#include <LCUI_Build.h>
|
||||
#include <LCUI/LCUI.h>
|
||||
#include <LCUI/graph.h>
|
||||
@@ -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;
|
||||
}
|
||||
/* 累加行宽度 */
|
||||
|
||||
Reference in New Issue
Block a user