< prev index next >

src/java.desktop/share/native/libsplashscreen/splashscreen_impl.c

Print this page

        

@@ -55,21 +55,21 @@
 
     free(splash->jarName);
     splash->jarName = SplashConvertStringAlloc(jarName, &splash->jarNameLen);
 }
 
-JNIEXPORT int
+JNIEXPORT void
 SplashInit()
 {
     Splash *splash = SplashGetInstance();
 
     memset(splash, 0, sizeof(Splash));
     splash->currentFrame = -1;
     splash->scaleFactor = 1;
     initFormat(&splash->imageFormat, QUAD_RED_MASK, QUAD_GREEN_MASK,
         QUAD_BLUE_MASK, QUAD_ALPHA_MASK);
-    return SplashInitPlatform(splash);
+    SplashInitPlatform(splash);
 }
 
 JNIEXPORT void
 SplashClose()
 {

@@ -261,11 +261,10 @@
     int c;
     size_t i;
 
     Splash *splash = SplashGetInstance();
     if (splash->isVisible < 0) {
-        stream->close(stream);
         return 0;
     }
 
     SplashLock(splash);
 
< prev index next >