Skip to content

Commit

Permalink
Support for new ggplotd version
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackEdder committed Mar 1, 2016
1 parent abf1fe2 commit 323180e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"excludedSourceFiles": ["source/main.d"],
"targetPath": "bin",
"dependencies": {
"ggplotd": ">=0.4.13",
"ggplotd": ">=0.4.14",
"dunit": "~>1.0.11",
"docopt": ">=0.6.1-b.4"
},
Expand Down
4 changes: 4 additions & 0 deletions source/plotcli/geom.d
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ private string generateToGeom()
{
//auto name = m.stringof;
static if (name.length > 6 && name[0..4] == "geom"
&& name != "geomRectangle"
&& name != "geomEllipse"
&& name != "geomDiamond"
&& name != "geomTriangle"
&& name != "geomAxis" )
{
str ~= "if (type == q{" ~ name[4..$].toLower ~ "})\n";
Expand Down

0 comments on commit 323180e

Please sign in to comment.