Skip to content

Conversation

@WebsterXC
Copy link

This was a project for my CSE410 class at University At Buffalo. We were tasked with finding an open-source project, selecting an open bug-fix and trying to narrow down / fix the bug.

I was able to fix issue #15 by comparing the current string buffer to the menu selection returned by action_confirm. If the user presses enter, the N characters in the string buffer are compared to the first N characters of the menu selection using strncmp(). If they don't match, then we can conclude the menu selection is an invalid match.

Someone will want to double check it for type and syntax consistency. Hopefully this helps, I plan on poking around more on my own fork!

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