mirror of
https://github.com/processing/processing4.git
synced 2026-04-30 08:01:26 +02:00
fix minor bug found while doing Android Wear porting
This commit is contained in:
@@ -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 )
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user