From 0bc6589c10da2193d451ab2419ec87255c696c0d Mon Sep 17 00:00:00 2001 From: joye Date: Thu, 24 Apr 2014 18:09:14 +0000 Subject: *** empty log message *** --- src/bltGrAxis.C | 10 ++++++++-- src/bltVecInt.h | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/bltGrAxis.C b/src/bltGrAxis.C index 5dadb9e..73f6ba4 100644 --- a/src/bltGrAxis.C +++ b/src/bltGrAxis.C @@ -32,6 +32,11 @@ #include #include +#include +#include +#include +using namespace std; + extern "C" { #include "bltInt.h" }; @@ -343,9 +348,10 @@ int Axis::configure() if (ops->checkLimits) { // Check that the logscale limits are positive. if ((!isnan(ops->reqMin)) && (ops->reqMin <= 0.0)) { + ostringstream str; + str << ops->reqMin << ends; Tcl_AppendResult(graphPtr_->interp_,"bad logscale -min limit \"", - Blt_Dtoa(graphPtr_->interp_, ops->reqMin), - "\" for axis \"", name_, "\"", + str.str().c_str(), "\" for axis \"", name_, "\"", NULL); return TCL_ERROR; } diff --git a/src/bltVecInt.h b/src/bltVecInt.h index 67abb2f..3076b75 100644 --- a/src/bltVecInt.h +++ b/src/bltVecInt.h @@ -185,6 +185,8 @@ typedef struct { } \ } +extern const char *Blt_Itoa(int value); + extern void Blt_Vec_InstallSpecialIndices(Tcl_HashTable *tablePtr); extern void Blt_Vec_InstallMathFunctions(Tcl_HashTable *tablePtr); -- cgit v0.12