diff --git a/src/tests/kits/game/ParticlesII/Jamfile b/src/tests/kits/game/ParticlesII/Jamfile index 3c7908c526..a3e5bf9aa0 100644 --- a/src/tests/kits/game/ParticlesII/Jamfile +++ b/src/tests/kits/game/ParticlesII/Jamfile @@ -2,6 +2,6 @@ SubDir HAIKU_TOP src tests kits game ParticlesII ; SimpleTest ParticlesII : particlesII.cpp - : game be root + : game be root $(TARGET_LIBSUPC++) ; diff --git a/src/tests/kits/game/ParticlesII/particlesII.cpp b/src/tests/kits/game/ParticlesII/particlesII.cpp index a40fec99ce..65ffe8aa69 100644 --- a/src/tests/kits/game/ParticlesII/particlesII.cpp +++ b/src/tests/kits/game/ParticlesII/particlesII.cpp @@ -74,9 +74,11 @@ private: // app from ScreenConnected() }; +int main() { NApplication app; + return 0; } NApplication::NApplication() @@ -215,7 +217,7 @@ void NWindowScreen::ScreenConnected(bool connected) } if((i>=192) && (i<256)) { - c1.red = 0i; // blues + c1.red = 0; // blues c1.green = 0; c1.blue = j*4; c1.alpha = 255;