diff options
| author | Wiimm <wiimm@wiimm.de> | 2021-02-03 16:42:38 +0100 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2021-02-03 16:42:38 +0100 |
| commit | 69894f75254cd630e2e4fe1422044c6b7d6adb5f (patch) | |
| tree | 139b93491a16987905c53c4e10bc8b44034de278 /project/src/wkclt.c | |
| parent | a3d605bc52ba3e53720d0dee29a470661b35a1c2 (diff) | |
SZS 2.23a
Diffstat (limited to '')
| -rw-r--r-- | project/src/wkclt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/project/src/wkclt.c b/project/src/wkclt.c index 8be86b4..c85b0d1 100644 --- a/project/src/wkclt.c +++ b/project/src/wkclt.c @@ -17,7 +17,7 @@ * This file is part of the SZS project. * * Visit https://szs.wiimm.de/ for project details and sources. * * * - * Copyright (c) 2011-2020 by Dirk Clemens <wiimm@wiimm.de> * + * Copyright (c) 2011-2021 by Dirk Clemens <wiimm@wiimm.de> * * * *************************************************************************** * * @@ -986,7 +986,7 @@ static void analyze_kcl ( kcl_t *kcl ) } float *f = td->normal->v; - uint nf = sizeof(td->normal)/sizeof(float); + uint nf = sizeof(td->normal->v)/sizeof(*f); for ( ; nf > 0; nf--, f++ ) { if ( n_min > *f ) n_min = *f; @@ -1120,6 +1120,7 @@ static enumError CheckOptions ( int argc, char ** argv, bool is_env ) case GO_ALLOW_ALL: allow_all = true; break; case GO_COMPATIBLE: err += ScanOptCompatible(optarg); break; case GO_WIDTH: err += ScanOptWidth(optarg); break; + case GO_MAX_WIDTH: err += ScanOptMaxWidth(optarg); break; case GO_QUIET: verbose = verbose > -1 ? -1 : verbose - 1; break; case GO_VERBOSE: verbose = verbose < 0 ? 0 : verbose + 1; break; case GO_LOGGING: logging++; break; |
