Fix dumb commit for XLIFF approved-attr handling
This commit is contained in:
parent
73be50b308
commit
53de09d151
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ void XLIFFParser::startElement(const char *name, const XMLAttributes &atts)
|
|||
|
||||
_source.clear();
|
||||
_target.clear();
|
||||
std::string as;
|
||||
std::string as = atts.getValue("approved");
|
||||
if (as.empty()) {
|
||||
_approved = true;
|
||||
_approved = false;
|
||||
} else {
|
||||
_approved = simgear::strutils::to_bool(as);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue