mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-18 17:25:09 -04:00
GUI: remove sizeConstraint so squashable again (sigh)
- make Sequence Format textbox bigger (on own line) - suppress question mark in Windows dialogs AUSPOST: more standard error messages backend: add & use z_isdigit/upper/lower() macros docs: 20-bit Unicode -> 21-bit Unicode
This commit is contained in:
parent
07772094d5
commit
0b3fe8db93
40 changed files with 200 additions and 186 deletions
|
@ -1,5 +1,4 @@
|
|||
/* large.c - Handles binary manipulation of large numbers */
|
||||
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2008-2022 Robin Stuart <rstuart114@gmail.com>
|
||||
|
@ -59,7 +58,7 @@
|
|||
INTERNAL void large_load_str_u64(large_int *t, const unsigned char *s, const int length) {
|
||||
uint64_t val = 0;
|
||||
const unsigned char *const se = s + length;
|
||||
for (; s < se && *s >= '0' && *s <= '9'; s++) {
|
||||
for (; s < se && z_isdigit(*s); s++) {
|
||||
val *= 10;
|
||||
val += *s - '0';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue