diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-10-27 14:30:19 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-10-27 14:30:19 +0000 |
commit | 7cb1a39a6b61b5b0b2a0ef137b28496324713e1f (patch) | |
tree | a2716dac7974c01a337bd613affab9a0f1e7f705 /src/main/CommandLine.c | |
parent | ad499e6b74b32f2b250d7f93d3b91d78d0f7ce5e (diff) |
Use different numerical values for the #defined enum-like constants.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3438 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CommandLine.c')
-rw-r--r-- | src/main/CommandLine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/CommandLine.c b/src/main/CommandLine.c index ab3591b5..6436f88c 100644 --- a/src/main/CommandLine.c +++ b/src/main/CommandLine.c @@ -610,9 +610,9 @@ static void CommandLinePrintParameter (const cParamData *properties) } printf ("\n"); printf ("Description: \"%s\"\n", properties->description); - printf ("Type: %s\n", cctk_parameter_type_names[properties->type-1]); + printf ("Type: %s\n", cctk_parameter_type_names[properties->type-PARAMETER_FIRST]); printf ("Default: %s\n", properties->defval); - printf ("Scope: %s\n", cctk_parameter_scopes[properties->scope-1]); + printf ("Scope: %s\n", cctk_parameter_scopes[properties->scope-SCOPE_FIRST]); for (range = properties->range; range; range = range->next) { |