From: Andreas Schwab Date: Tue, 21 Feb 2006 12:58:58 +0000 (+0000) Subject: Fix indentation. X-Git-Tag: emacs-pretest-22.0.90~3970 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ea094cffae04a654ddb76700fa86fa7e8d03eef;p=emacs.git Fix indentation. --- diff --git a/src/regex.c b/src/regex.c index cde361e62ce..846c87041b1 100644 --- a/src/regex.c +++ b/src/regex.c @@ -3654,12 +3654,12 @@ regex_compile (pattern, size, syntax, bufp) if (! fail_stack.stack) fail_stack.stack = (fail_stack_elt_t *) malloc (fail_stack.size - * sizeof (fail_stack_elt_t)); + * sizeof (fail_stack_elt_t)); else fail_stack.stack = (fail_stack_elt_t *) realloc (fail_stack.stack, - (fail_stack.size - * sizeof (fail_stack_elt_t))); + (fail_stack.size + * sizeof (fail_stack_elt_t))); } regex_grow_registers (num_regs); @@ -6345,7 +6345,7 @@ regcomp (preg, pattern, cflags) preg->translate = (RE_TRANSLATE_TYPE) malloc (CHAR_SET_SIZE - * sizeof (*(RE_TRANSLATE_TYPE)0)); + * sizeof (*(RE_TRANSLATE_TYPE)0)); if (preg->translate == NULL) return (int) REG_ESPACE;