mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Remove minor omission in sanity check
This commit is contained in:
parent
d877168b61
commit
bd840d1ab9
@ -92,7 +92,7 @@ int is_sane(char test_string[], unsigned char source[])
|
||||
{ /* Verifies that a string only uses valid characters */
|
||||
unsigned int i, j, latch;
|
||||
|
||||
for(i = 0; i < ustrlen(source) - 1; i++) {
|
||||
for(i = 0; i < ustrlen(source); i++) {
|
||||
latch = FALSE;
|
||||
for(j = 0; j < strlen(test_string); j++) {
|
||||
if (source[i] == test_string[j]) { latch = TRUE; } }
|
||||
|
Loading…
x
Reference in New Issue
Block a user