mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-10 13:36:02 +00: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