fix minor bug found while doing Android Wear porting

This commit is contained in:
Ben Fry
2016-03-06 13:48:26 -05:00
parent e682792c7d
commit f2e49ea16a
2 changed files with 8 additions and 4 deletions

View File

@@ -7602,7 +7602,7 @@ public class PApplet implements PConstants {
String lower = filename.toLowerCase();
int dot = filename.lastIndexOf('.');
if (dot == -1) {
extension = "unknown"; // no extension found
return ""; // no extension found
}
extension = lower.substring(dot + 1);
@@ -11138,9 +11138,9 @@ public class PApplet implements PConstants {
/**
* ( begin auto-generated from clip.xml )
*
* Limits the rendering to the boundaries of a rectangle defined
* by the parameters. The boundaries are drawn based on the state
* of the <b>imageMode()</b> fuction, either CORNER, CORNERS, or CENTER.
* Limits the rendering to the boundaries of a rectangle defined
* by the parameters. The boundaries are drawn based on the state
* of the <b>imageMode()</b> fuction, either CORNER, CORNERS, or CENTER.
*
* ( end auto-generated )
*

View File

@@ -1,5 +1,9 @@
0249 (3.0.3)
contribs
X Grab bag of smaller, mainly ARM-related updates
X https://github.com/processing/processing/pull/4300
_ tabs aren't working properly (several bugs?)
_ https://github.com/processing/processing/issues/3975