Skip to content

Commit efedfa7

Browse files
committed
cut the filename at the last '.' not at the first in tab-names of the editor
1 parent 3be6eb8 commit efedfa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/SketchCode.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public SketchCode(File file, String extension) {
8787

8888
protected void makePrettyName() {
8989
prettyName = file.getName();
90-
int dot = prettyName.indexOf('.');
90+
int dot = prettyName.lastIndexOf('.');
9191
prettyName = prettyName.substring(0, dot);
9292
}
9393

0 commit comments

Comments
 (0)