File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
arduino-core/src/processing/app Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public File getDefaultSketchbookFolder() throws Exception {
9595
9696 public void openURL (String url ) throws Exception {
9797 if (PApplet .javaVersion < 1.6f ) {
98- if (url .startsWith ("http:// " )) {
98+ if (url .startsWith ("http" )) {
9999 // formerly com.apple.eio.FileManager.openURL(url);
100100 // but due to deprecation, instead loading dynamically
101101 try {
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ public void openURL(String url) throws Exception {
242242 // "Access is denied" in both cygwin and the "dos" prompt.
243243 //Runtime.getRuntime().exec("cmd /c " + currentDir + "\\reference\\" +
244244 // referenceFile + ".html");
245- if (url .startsWith ("http:// " )) {
245+ if (url .startsWith ("http" )) {
246246 // open dos prompt, give it 'start' command, which will
247247 // open the url properly. start by itself won't work since
248248 // it appears to need cmd
You can’t perform that action at this time.
0 commit comments