"Source/vscode:/vscode.git/clone" did not exist on "d5c659a5475b66bf754bf3d7162775ad3be0ddaf"
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