From 43f43d5e73ba1c36199998bd90ea511efe0eac62 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 31 Jul 2016 18:02:55 -0400 Subject: Fix compilation with C++ --- src/Canvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Canvas.cpp') diff --git a/src/Canvas.cpp b/src/Canvas.cpp index e31bc9d..de04f16 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -746,7 +746,7 @@ GanvCanvasImpl::layout_dot(const std::string& filename) agsafeset(e, (char*)"headport", (char*)ss.str().c_str(), (char*)""); } if (!ganv_edge_get_constraining(edge)) { - agsafeset(e, (char*)"constraint", "false", (char*)""); + agsafeset(e, (char*)"constraint", (char*)"false", (char*)""); } } else { std::cerr << "Unable to find graphviz node" << std::endl; -- cgit v1.2.1