fixed bug in GetSelectedOutputString (bad args);

cleared SelectedOutputString for each run

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@6156 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2012-02-02 01:29:19 +00:00
parent ea645fb801
commit cea8ab44a8

View File

@ -858,6 +858,8 @@ void IPhreeqc::do_run(const char* sz_routine, std::istream* pis, PFN_PRERUN_CALL
this->LogLines.clear();
this->OutputString.clear();
this->OutputLines.clear();
this->SelectedOutputString.clear();
this->SelectedOutputLines.clear();
/*
* set read callback
@ -888,9 +890,6 @@ void IPhreeqc::do_run(const char* sz_routine, std::istream* pis, PFN_PRERUN_CALL
int save_punch_in = this->PhreeqcPtr->punch.in;
//{{
//}}
this->PhreeqcPtr->dup_print(token, TRUE);
if (this->PhreeqcPtr->read_input() == EOF)
break;
@ -1077,6 +1076,7 @@ void IPhreeqc::do_run(const char* sz_routine, std::istream* pis, PFN_PRERUN_CALL
if (this->DumpOn)
{
this->PhreeqcPtr->dump_entities();
this->DumpFileName = this->PhreeqcPtr->dump_info.Get_file_name();
}
if (this->DumpStringOn)
{