mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
改为调用 StyleTagStack_Destroy() 函数
This commit is contained in:
@@ -734,9 +734,8 @@ static void TextLayer_TextTypeset( LCUI_TextLayer* layer, int start_row )
|
||||
}
|
||||
|
||||
/** 对文本进行预处理 */
|
||||
static int TextLayer_ProcessText( LCUI_TextLayer *layer,
|
||||
const wchar_t *new_text,
|
||||
TextAddType add_type )
|
||||
static int TextLayer_ProcessText( LCUI_TextLayer *layer,
|
||||
const wchar_t *new_text, TextAddType add_type )
|
||||
{
|
||||
TextRowData *p_cur_row;
|
||||
TextCharData char_data;
|
||||
@@ -818,7 +817,7 @@ static int TextLayer_ProcessText( LCUI_TextLayer *layer,
|
||||
if( layer->is_autowrap_mode ) {
|
||||
TaskData_AddUpdateTypeset( &layer->task, cur_row );
|
||||
}
|
||||
Queue_Destroy( &tag_buff );
|
||||
StyleTagStack_Destroy( &tag_buff );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user