Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 05fa62d

Browse files
author
Federico Fissore
committedOct 22, 2013
Added warning message in case sketch contains invalid file name. Fixes #1390
1 parent 59de784 commit 05fa62d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎app/src/processing/app/Sketch.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ protected void load() {
187187
if (Sketch.isSanitaryName(base)) {
188188
code[codeCount++] =
189189
new SketchCode(new File(folder, filename), extension);
190+
} else {
191+
editor.console.message(I18n.format("File name {0} is invalid: ignored", filename), true, false);
190192
}
191193
}
192194
}

0 commit comments

Comments
 (0)
Please sign in to comment.