updated for classify branch

This commit is contained in:
Scott R Charlton 2021-04-08 11:15:55 -06:00
parent 7993336a9f
commit c27e7010bb

View File

@ -1268,14 +1268,14 @@ void IPhreeqc::do_run(const char* sz_routine, std::istream* pis, PFN_PRERUN_CALL
}
ASSERT(this->PhreeqcPtr->SelectedOutput_map.size() == this->SelectedOutputMap.size());
ASSERT(this->PhreeqcPtr->SelectedOutput_map.size() == this->SelectedOutputStringMap.size());
if (this->PhreeqcPtr->title_x != NULL)
if (!this->PhreeqcPtr->title_x.empty())
{
::sprintf(token, "TITLE");
this->PhreeqcPtr->dup_print(token, TRUE);
if (this->PhreeqcPtr->pr.headings == TRUE)
{
char *p = this->PhreeqcPtr->sformatf("%s\n\n", this->PhreeqcPtr->title_x);
this->PhreeqcPtr->output_msg(p);
this->PhreeqcPtr->output_msg(this->PhreeqcPtr->title_x.c_str());
this->PhreeqcPtr->output_msg("\n\n");
}
}