diff --git a/Fltk/openglWindow.cpp b/Fltk/openglWindow.cpp index 00de31de1209f21daa8c8b43877bb0519fe30671..e834e5220e30c1cee0a51f9ba3aab91ed7613f2a 100644 --- a/Fltk/openglWindow.cpp +++ b/Fltk/openglWindow.cpp @@ -649,12 +649,13 @@ int openglWindow::handle(int event) if(me) text += me->getInfoString(); if(points.size()){ char tmp[256]; - sprintf(tmp, "(%g,%g)", points[0].x(), points[0].y()); + sprintf(tmp, "Point (%.16g, %.16g)", points[0].x(), points[0].y()); text += tmp; if(CTX::instance()->post.graphPointCommand.size()){ - text += std::string("\nDouble-click to parse `"); - text += CTX::instance()->post.graphPointCommand; - text += std::string("'"); + text += std::string(" - Double-click to execute\n\n"); + std::string cmd = CTX::instance()->post.graphPointCommand; + std::replace(cmd.begin(), cmd.end(), '\r', ' '); + text += cmd; } } if(CTX::instance()->tooltips)