mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-19 20:22:18 +01:00
DroidFish: Handle floating point numbers with negative exponent in SVG parser.
This commit is contained in:
@@ -244,8 +244,7 @@ public class SVGParser {
|
|||||||
case '\n':
|
case '\n':
|
||||||
case '\t':
|
case '\t':
|
||||||
case ' ':
|
case ' ':
|
||||||
case ',':
|
case ',': {
|
||||||
case '-': {
|
|
||||||
String str = s.substring(p, i);
|
String str = s.substring(p, i);
|
||||||
// Just keep moving if multiple whitespace
|
// Just keep moving if multiple whitespace
|
||||||
if (str.trim().length() > 0) {
|
if (str.trim().length() > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user