350d5002a3886f5750c0e5df7050a71baf84e99e galt Tue Oct 11 11:54:36 2011 -0700 little fix of braces indenting diff --git src/lib/options.c src/lib/options.c index 4c55a70..b480650 100644 --- src/lib/options.c +++ src/lib/options.c @@ -306,31 +306,32 @@ } static char *optGet(char *name) /* Lookup option name. Complain if options hash not set. */ { if (options == NULL) errAbort("optGet called before optionHash"); return hashFindVal(options, name); } char *optionVal(char *name, char *defaultVal) /* Return named option if in options hash, otherwise default. */ { char *ret; /* if a optionSpec was used, make sure this option is not a multi option */ -if(optionSpecification != NULL) { +if(optionSpecification != NULL) + { struct optionSpec *spec = matchingOption(name, optionSpecification); if(spec != NULL && (spec->flags & OPTION_MULTI)) errAbort("ERROR: optionVal cannot be used to get the value of an OPTION_MULTI"); } ret = optGet(name); if (ret == NULL) ret = defaultVal; return ret; } int optionInt(char *name, int defaultVal) /* Return integer value of named option, or default value * if not set. */ {