Skip to content

Fixed drugtypes and drugitems background tags causing subsequent tags in the same background to be skipped#295

Merged
kitty624 merged 1 commit into
1dot13:masterfrom
andrzejfalkowski:xml-backgrounds-parse-fix
Mar 16, 2024
Merged

Fixed drugtypes and drugitems background tags causing subsequent tags in the same background to be skipped#295
kitty624 merged 1 commit into
1dot13:masterfrom
andrzejfalkowski:xml-backgrounds-parse-fix

Conversation

@andrzejfalkowski
Copy link
Copy Markdown
Contributor

On closing drugtypes and drugitems tags pData->curElement wasn't set back to ELEMENT, so other tags after that would be skipped until reaching a next background tag.

Also if drugitems were set after drugtypes, drugtypes would be cleared (wrong vector).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants