mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-24 20:14:28 -04:00
Avoid possible confusion with Windows error code
Bugfix by Oxy Genic
Ref: 34857131
/
This commit is contained in:
parent
7ae95b2b42
commit
2e59058615
31 changed files with 3878 additions and 3878 deletions
|
@ -200,7 +200,7 @@ int code16k(struct zint_symbol *symbol, unsigned char source[], int length)
|
|||
|
||||
if(input_length > 157) {
|
||||
strcpy(symbol->errtxt, "Input too long");
|
||||
return ERROR_TOO_LONG;
|
||||
return ZINT_ERROR_TOO_LONG;
|
||||
}
|
||||
|
||||
bar_characters = 0;
|
||||
|
@ -390,7 +390,7 @@ int code16k(struct zint_symbol *symbol, unsigned char source[], int length)
|
|||
|
||||
if(glyph_count > 77.0) {
|
||||
strcpy(symbol->errtxt, "Input too long");
|
||||
return ERROR_TOO_LONG;
|
||||
return ZINT_ERROR_TOO_LONG;
|
||||
}
|
||||
|
||||
/* Calculate how tall the symbol will be */
|
||||
|
@ -415,7 +415,7 @@ int code16k(struct zint_symbol *symbol, unsigned char source[], int length)
|
|||
if(m == 2) { m = 5; }
|
||||
if(gs1) {
|
||||
strcpy(symbol->errtxt, "Cannot use both GS1 mode and Reader Initialisation");
|
||||
return ERROR_INVALID_OPTION;
|
||||
return ZINT_ERROR_INVALID_OPTION;
|
||||
} else {
|
||||
if((set[0] == 'B') && (set[1] == 'C')) { m = 6; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue