1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-17 09:57:02 +00:00

Correct processing of escape char mode

This commit is contained in:
Robin Stuart
2017-11-05 14:27:01 +00:00
parent a91e4fab79
commit ddce98a1bb
2 changed files with 3 additions and 2 deletions

View File

@@ -627,7 +627,7 @@ int main(int argc, char **argv) {
}
}
if (!strcmp(long_options[option_index].name, "esc")) {
if (!(my_symbol->input_mode &= ESCAPE_MODE)) {
if (!(my_symbol->input_mode & ESCAPE_MODE)) {
my_symbol->input_mode += ESCAPE_MODE;
}
}