Mercurial > hg > sidinfo
changeset 111:c7ecf56d23e7
Rename a variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 15 Feb 2016 10:36:26 +0200 |
parents | e9dbedc4d5e4 |
children | 55d99dc7c35c |
files | sidinfo.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Mon Feb 15 10:35:37 2016 +0200 +++ b/sidinfo.c Mon Feb 15 10:36:26 2016 +0200 @@ -71,7 +71,7 @@ optNoNamePrefix = FALSE, optHexadecimal = FALSE, optOneLine = FALSE, - optNormal = TRUE; + optFieldOutput = TRUE; char *optFieldSep = NULL; int optNFiles = 0; @@ -357,7 +357,7 @@ break; case 7: - optNormal = FALSE; + optFieldOutput = FALSE; if (!argParsePSFormatStr(&optFormat, optArg)) return FALSE; break; @@ -403,14 +403,14 @@ static void siPrintFieldPrefix(FILE *outFile, const PSFOption *opt) { const char *name = (optParsable || opt->lname == NULL) ? opt->name : opt->lname; - if (!optNoNamePrefix && optNormal) + if (!optNoNamePrefix && optFieldOutput) fprintf(outFile, optParsable ? "%s=" : "%-20s : ", name); } static void siPrintFieldSeparator(FILE *outFile) { - if (optNormal) + if (optFieldOutput) fputs(optOneLine ? optFieldSep : "\n", outFile); } @@ -546,7 +546,7 @@ } } - if (optNormal) + if (optFieldOutput) { if (shown && optOneLine) fprintf(outFile, "\n"); @@ -579,7 +579,7 @@ optNoNamePrefix = TRUE; } - if (optNormal && !optFormat.nitems) + if (optFieldOutput && !optFormat.nitems) { int i; siClearStack(&optFormat);