diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | src/toolbox.c | 8 |
2 files changed, 7 insertions, 5 deletions
@@ -1 +1,3 @@ -.*.sw* +cscope.files +cscope.out +tags diff --git a/src/toolbox.c b/src/toolbox.c index 107f770..607247b 100644 --- a/src/toolbox.c +++ b/src/toolbox.c @@ -565,7 +565,7 @@ static int genh(FILE *output) struct key *key; int status; -#ifndef NO_SORT_KEYS +#ifdef SORT_KEYS status = sortkeys(); if (status < 0) return status; @@ -594,7 +594,7 @@ static int genc(FILE *output) int result, sts; size_t l; -#ifndef NO_SORT_KEYS +#ifdef SORT_KEYS sts = sortkeys(); if (sts < 0) return sts; @@ -655,7 +655,7 @@ static int rpm(FILE *output) struct key *key; int status; -#ifndef NO_SORT_KEYS +#ifdef SORT_KEYS status = sortkeys(); if (status < 0) return status; @@ -684,7 +684,7 @@ static int signup(FILE *output) char term; char signup[32]; -#ifndef NO_SORT_KEYS +#ifdef SORT_KEYS status = sortkeys(); if (status < 0) return status; |