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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kawaii-Code
Copy link

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.

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.

1 participant