Skip to content

Commit

Permalink
Cleanup. No functional changes intended.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitcowboy committed Jul 19, 2019
1 parent c2c134c commit 2aa9cb3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gnuplot_i.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ Gnuplot::~Gnuplot(void)
#elif defined(unix) || defined(__unix) || defined(__unix__) || defined(__APPLE__)
if (pclose(gnucmd) == -1)
#endif
std::cerr << "Gnuplot::~Gnuplot: Problem closing communication to gnuplot" << std::endl;
{ std::cerr << "Gnuplot::~Gnuplot: Problem closing communication to gnuplot" << std::endl; }
}


Expand Down Expand Up @@ -1660,7 +1660,7 @@ Gnuplot& Gnuplot::cmd(const std::string &cmdstr)
if( cmdstr.find("replot") != std::string::npos )
{
return *this;
}
}
else if( cmdstr.find("splot") != std::string::npos )
{
two_dim = false;
Expand All @@ -1671,6 +1671,10 @@ Gnuplot& Gnuplot::cmd(const std::string &cmdstr)
two_dim = true;
nplots++;
}
else
{
// Nothing to do
}

return *this;
}
Expand Down

0 comments on commit 2aa9cb3

Please sign in to comment.