mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-03-23 13:45:19 +01:00
DroidFish: Handle floating point numbers with negative exponent in SVG parser.
This commit is contained in:
parent
bbbb9078cb
commit
b1df438d06
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user