# HG changeset patch # User Matti Hamalainen # Date 1455525386 -7200 # Node ID c7ecf56d23e7bb524040cfdf299ce88c72310f07 # Parent e9dbedc4d5e478c3a05cdf1e666b1e9d8b6890f9 Rename a variable. diff -r e9dbedc4d5e4 -r c7ecf56d23e7 sidinfo.c --- 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);