Simplified logic, but left old commented.

Next step will remove unused logic.

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@5405 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2011-05-16 15:30:31 +00:00
parent c323063457
commit 72298ad6e3

View File

@ -327,10 +327,12 @@ ChartObject::Read(CParser & parser)
break;
case 2: /* headings */
case 3: /* heading */
this->new_headings.clear();
while (parser.copy_token(token, next_char) != CParser::TT_EMPTY)
{
this->new_headings.push_back(token);
}
break;
case 4: /* chart title */
{