Fix demo for Windows 43/14143/2
Vincent COUVERT [Wed, 26 Mar 2014 14:30:31 +0000 (15:30 +0100)]
Change-Id: Ibabf17639760cd0f8f514942d438473d0064c34d

scilab/modules/graphics/demos/matplot/java_image.dem.sce

index be32290..7e0ae74 100644 (file)
@@ -17,7 +17,7 @@ function demo_java_image()
     jimport javax.imageio.ImageIO;
     jimport java.net.URL;
 
-    bi = ImageIO.read(URL.new("file://" + demopath + "/puffin.png"));
+    bi = ImageIO.read(URL.new("file:////" + demopath + "/puffin.png"));
     w = bi.getWidth(jvoid);
     h = bi.getHeight(jvoid);
     data = bi.getRGB(0, 0, w, h, [], 0, w);