AndrewMohawk/zaconv — pull request #1 by hypn (2013-11-09 20:28:11+00:00)
Title: Fixes "About" menu

(sorry about all the line-ending changes :S)

The "About" menu calls readButtons(), and then processButtons() which also tries to call readButtons() but doesn't seem to get a valid value (state/buffer already cleared?).

I made "processButton()" read the buttons then call a new method "processAButton()" which takes in an already captured button reading, and executes all the previous code.

In other words: if you're not manually reading buttons in a function, just call processButton() as before, otherwise call processAButton() and pass in the variable you already have.

This probably isn't the best way to code this... feel free to solve it another way :P