Commit aa1aa3f5 authored by Hein Htat's avatar Hein Htat Committed by mrbean-bremen
Browse files

Fix path parsing mistaking 'E' as a command instead of an exponent

parent 0453531d
......@@ -257,7 +257,7 @@ namespace Svg
for (var i = 0; i < path.Length; i++)
{
string command;
if (char.IsLetter(path[i]) && path[i] != 'e') //e is used in scientific notiation. but not svg path
if (char.IsLetter(path[i]) && path[i] != 'e' && path[i] != 'E') //e is used in scientific notiation. but not svg path
{
command = path.Substring(commandStart, i - commandStart).Trim();
commandStart = i;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment