regex: fix typo in definition of MIN
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Feb 2012 21:03:34 +0000 (13:03 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Feb 2012 21:06:04 +0000 (13:06 -0800)
* lib/regex_internal.h (MIN): Fix typo.  Problem reported by Thomas
Schwinge in <http://sourceware.org/bugzilla/show_bug.cgi?id=11638#c4>.

ChangeLog
lib/regex_internal.h

index 1577313..444422e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       regex: fix typo in definition of MIN
+       * lib/regex_internal.h (MIN): Fix typo.  Problem reported by Thomas
+       Schwinge in <http://sourceware.org/bugzilla/show_bug.cgi?id=11638#c4>.
+
 2012-02-19  Paul Eggert  <eggert@cs.ucla.edu>
            Bruno Haible  <bruno@clisp.org>
 
index 85855e0..2b9f697 100644 (file)
@@ -470,7 +470,7 @@ static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
 # define MAX(a,b) ((a) < (b) ? (b) : (a))
 #endif
 #ifndef MIN
-# define MIN(a,b) ((a) < (b) ? (b) : (a))
+# define MIN(a,b) ((a) < (b) ? (a) : (b))
 #endif
 
 #define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t)))