else
{
ResultCtrl->SetInsertionPoint(InsertPt);
- for (int i = 1; i<=lv;i++)
+ for (int i = 1; i<=lv;i++)
{
ResultCtrl->WriteText(_T(" "));
}
std::map<int, std::string >::iterator it_lv_nb = lvlist.begin();
std::map<int, std::string >::iterator it_lv = lvlist.begin();
it_lv_nb++;
- for (;it_lv != lvlist.end(); it_lv++, it_lv_nb++)
+ for (;it_lv != lvlist.end(); it_lv++)
{
outDscp +="<level>";
outDscp += "\n";
outDscp += it_lv_nb->second.c_str();
outDscp += "s";
outDscp += "\n";
+ it_lv_nb++;
}
std::vector<std::string>::iterator it_branch = DscpTree[it_lv->second.c_str()].begin();
for(;it_branch != DscpTree[it_lv->second.c_str()].end(); it_branch++)
onAddAttribute( entry->GetName(),compose, level);
}
}
+ else if(descriptors[0].find("#") != -1)
+ {
+ // commented line continue to next line
+ }
else // "O" means if user's own tag.
{
boost::algorithm::replace_all(descriptors[2],"_"," ");