Skip to content

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

@mattbsyd

Description

@mattbsyd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions