mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 18:07:02 +00:00
win32: add "zint_dll_vc6" sub-directory with VC6 workspace for
creating "zint.dll" compatible with Windows XP (see ticket #339) win32: rename README and HOWTO files to uppercase and update "win32\README.txt" general: suppress some VC6 warnings README.bsd: update
This commit is contained in:
@@ -135,11 +135,11 @@ INTERNAL int zint_codabar(struct zint_symbol *symbol, unsigned char source[], in
|
||||
}
|
||||
|
||||
/* If visible check char, place before final A/B/C/D character (BS EN 798:1995 A.3) */
|
||||
z_hrt_cpy_cat_nochk(symbol, source, length - 1, symbol->option_2 == 2 ? CALCIUM[checksum] : '\xFF',
|
||||
z_hrt_cpy_cat_nochk(symbol, source, length - 1, (char) (symbol->option_2 == 2 ? CALCIUM[checksum] : '\xFF'),
|
||||
source + length - 1, 1);
|
||||
|
||||
if (raw_text && z_rt_cpy_cat(symbol, source, length - 1,
|
||||
add_checksum ? CALCIUM[checksum] : '\xFF', source + length - 1, 1)) {
|
||||
(char) (add_checksum ? CALCIUM[checksum] : '\xFF'), source + length - 1, 1)) {
|
||||
return ZINT_ERROR_MEMORY; /* `z_rt_cpy_cat()` only fails with OOM */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user