nicer
authorMatthias Braun <matze@braunis.de>
Sun, 13 Aug 2006 13:29:22 +0000 (13:29 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 13 Aug 2006 13:29:22 +0000 (13:29 +0000)
SVN-Revision: 4180

src/mainloop.cpp

index 8baec7c..d0b6236 100644 (file)
@@ -68,7 +68,7 @@ MainLoop::push_screen(Screen* screen, ScreenFade* screen_fade)
 {
   this->next_screen.reset(screen);
   this->screen_fade.reset(screen_fade);
-  nextpush = nextpop != NULL;
+  nextpush = !nextpop;
   nextpop = false;
   speed = 1.0;
 }