Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Documentation problem in ofxXmlSettings #805

Open
adminfriso opened this issue Apr 26, 2023 · 0 comments
Open

Small Documentation problem in ofxXmlSettings #805

adminfriso opened this issue Apr 26, 2023 · 0 comments

Comments

@adminfriso
Copy link

on the code block of "A more complex example involving saving an array."

positions.addTag("positions");

will result in indefinitely adding a new positions tag
adding a tag exists around it will make sure this will not happen.
should be a small fix for someone who already has this repo setup for editing

if (!positions.tagExists("positions"))
{
positions.addTag("positions");
}

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

No branches or pull requests

1 participant