mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Small clang-analyze pleaser
This commit is contained in:
parent
f080aa2d61
commit
95dbbf6616
1 changed files with 2 additions and 2 deletions
|
@ -141,11 +141,11 @@ static void __textbox_update_pango_text ( textbox *tb )
|
|||
pango_layout_set_text ( tb->layout, string, l );
|
||||
}
|
||||
else if ( tb->flags & TB_MARKUP || tb->tbft & MARKUP ) {
|
||||
pango_layout_set_markup ( tb->layout, tb->text, strlen ( tb->text ) );
|
||||
pango_layout_set_markup ( tb->layout, tb->text, -1 );
|
||||
}
|
||||
else {
|
||||
pango_layout_set_attributes ( tb->layout, NULL );
|
||||
pango_layout_set_text ( tb->layout, tb->text, strlen ( tb->text ) );
|
||||
pango_layout_set_text ( tb->layout, tb->text, -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue