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

ICSC_CATCH_ALL Not working unless defined as a char < ASCII 128 #6

Open
mattbsyd opened this issue Aug 21, 2016 · 0 comments
Open

ICSC_CATCH_ALL Not working unless defined as a char < ASCII 128 #6

mattbsyd opened this issue Aug 21, 2016 · 0 comments

Comments

@mattbsyd
Copy link

I was struggling to register a command using ICSC_CATCH_ALL, it would not work until i figured out that

define ICSC_CATCH_ALL 0xFF

was causing the issue

I changed to 0x7F (ASCII 127 which is the 'DEL' character) and everything worked beautifully.

I'm not a very good C/C++ programmer but I am guessing this is because #define isn't treating it as an unsigned char and thus limiting to the non-extended ASCII table.

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