mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
More code cleanup
Patch 7 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
This commit is contained in:
parent
fc83343133
commit
7da2041cfd
19 changed files with 198 additions and 313 deletions
|
@ -114,7 +114,7 @@ int telepen_num(struct zint_symbol *symbol, unsigned char source[], int src_len)
|
|||
}
|
||||
|
||||
/* Add a leading zero if required */
|
||||
if ((temp_length % 2) != 0)
|
||||
if (temp_length & 1)
|
||||
{
|
||||
memmove(temp + 1, temp, temp_length);
|
||||
temp[0] = '0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue