mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix EOF bug in EMF output
Bug reported by 与 忘 <ly_xy@outlook.com>
This commit is contained in:
parent
d96079a327
commit
b3c03b4769
@ -430,11 +430,11 @@ int emf_plot(struct zint_symbol *symbol) {
|
||||
|
||||
/* Create EOF record */
|
||||
emr_eof.type = 0x0000000e; // EMR_EOF
|
||||
emr_eof.size = 18; // Assuming no palette entries
|
||||
emr_eof.size = 20; // Assuming no palette entries
|
||||
emr_eof.n_pal_entries = 0;
|
||||
emr_eof.off_pal_entries = 0;
|
||||
emr_eof.size_last = emr_eof.size;
|
||||
bytecount += 18;
|
||||
bytecount += 20;
|
||||
recordcount++;
|
||||
|
||||
if (symbol->symbology == BARCODE_MAXICODE) {
|
||||
|
Loading…
Reference in New Issue
Block a user