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

Fix OPT_END() missing without BUILD_EDITORS flag #2748

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

kawaii-Code
Copy link
Contributor

I built TIC-80 from source, with BUILD_EDITORS turned off. When I launched it, I noticed that there are 'wrong option type' warnings from argparse. After a little debugging, I found that OPT_END in the option list was under an #ifdef. So when I was building without editors, the list was unterminated.

I fixed this by moving OPT_END out of the #ifdef.

@nesbox nesbox merged commit ce24179 into nesbox:main Mar 1, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants