mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
More code cleanup
Patch 7 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
This commit is contained in:
@ -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';
|
||||
|
Reference in New Issue
Block a user