Fixed typo

This commit is contained in:
Cristian Maglie 2013-08-05 15:06:20 +02:00
parent f65e736a12
commit 350ed87af3
1 changed files with 2 additions and 2 deletions

View File

@ -105,9 +105,9 @@ public class Platform extends processing.app.Platform {
public void openFolder(File file) throws Exception {
if (openFolderAvailable()) {
String lunch = Preferences.get("launcher");
String launcher = Preferences.get("launcher");
try {
String[] params = new String[] { lunch, file.getAbsolutePath() };
String[] params = new String[] { launcher, file.getAbsolutePath() };
//processing.core.PApplet.println(params);
/*Process p =*/ Runtime.getRuntime().exec(params);
/*int result =*/ //p.waitFor();