]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
main: fix ply_mode_t/ply_boot_splash_mode_t confusion
authorRay Strode <rstrode@redhat.com>
Thu, 31 Mar 2011 03:21:00 +0000 (23:21 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 31 Mar 2011 03:21:00 +0000 (23:21 -0400)
They're very similar enums and I was using the wrong one,
which caused a harmless compiler warning.

src/main.c

index e950ab08085af4f7c774d6f01fe175c7b1e54577..0b55d53a63012215dbade158b76a5bd279018212 100644 (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 ();
     }