File tree 2 files changed +2
-2
lines changed
arduino-core/src/processing/app
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 {
95
95
96
96
public void openURL (String url ) throws Exception {
97
97
if (PApplet .javaVersion < 1.6f ) {
98
- if (url .startsWith ("http:// " )) {
98
+ if (url .startsWith ("http" )) {
99
99
// formerly com.apple.eio.FileManager.openURL(url);
100
100
// but due to deprecation, instead loading dynamically
101
101
try {
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ public void openURL(String url) throws Exception {
242
242
// "Access is denied" in both cygwin and the "dos" prompt.
243
243
//Runtime.getRuntime().exec("cmd /c " + currentDir + "\\reference\\" +
244
244
// referenceFile + ".html");
245
- if (url .startsWith ("http:// " )) {
245
+ if (url .startsWith ("http" )) {
246
246
// open dos prompt, give it 'start' command, which will
247
247
// open the url properly. start by itself won't work since
248
248
// it appears to need cmd
You can’t perform that action at this time.
0 commit comments