mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 05:38:14 +02:00
label-pango: Fix inverted conditional
Right now we skip sizing the control when force == true because of an inverted conditional. This commit fixes that.
This commit is contained in:
parent
07992537e8
commit
1b6c4b8684
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ size_control (ply_label_plugin_control_t *label,
|
|||
int text_width;
|
||||
int text_height;
|
||||
|
||||
if (force && !label->needs_size_update)
|
||||
if (!force && !label->needs_size_update)
|
||||
return; /* Size already is up to date */
|
||||
|
||||
if (!force && label->is_hidden) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue