mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 18:18:05 +02:00
main: fix ply_mode_t/ply_boot_splash_mode_t confusion
They're very similar enums and I was using the wrong one, which caused a harmless compiler warning.
This commit is contained in:
parent
f16ba574a2
commit
0886182618
1 changed files with 1 additions and 1 deletions
|
|
@ -939,7 +939,7 @@ quit_program (state_t *state)
|
|||
|
||||
#ifdef PLY_ENABLE_GDM_TRANSITION
|
||||
if (state->should_retain_splash &&
|
||||
state->mode == PLY_BOOT_SPLASH_MODE_BOOT_UP)
|
||||
state->mode == PLY_MODE_BOOT)
|
||||
{
|
||||
tell_gdm_to_transition ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue