From 08861826185f6a288863fe4e23bbfb47330236e3 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 30 Mar 2011 23:21:00 -0400 Subject: [PATCH] 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. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index e950ab08..0b55d53a 100644 --- a/src/main.c +++ b/src/main.c @@ -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 (); }