comparison tools/fanalyze.c @ 2248:2e656da1b10b

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jun 2019 20:20:47 +0300
parents ef1845cb436e
children 6ba4aed198e4
comparison
equal deleted inserted replaced
2247:bb7255792dd6 2248:2e656da1b10b
210 dmGrepTypes[node->type].bsize * 2, 210 dmGrepTypes[node->type].bsize * 2,
211 dmGrepDisp[node->disp].fmt); 211 dmGrepDisp[node->disp].fmt);
212 212
213 for (int n = 0; n < node->nvalues; n++) 213 for (int n = 0; n < node->nvalues; n++)
214 { 214 {
215 const char *veol = (n < node->nvalues - 1) ? " " : "\n"; 215 const char *veol = (n + 1 < node->nvalues) ? " " : "\n";
216 216
217 if (match) 217 if (match)
218 { 218 {
219 Uint32 mval; 219 Uint32 mval;
220 dmGetData(node->type, file, offs + n, &mval); 220 dmGetData(node->type, file, offs + n, &mval);