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:
Ray Strode 2011-03-30 23:21:00 -04:00
parent f16ba574a2
commit 0886182618

View file

@ -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 ();
}