changeset 16384:dde8c368829d

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>.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 20 Feb 2012 13:03:34 -0800
parents 531aa00a1e80
children a9e289a3a38d
files ChangeLog lib/regex_internal.h
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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>
 
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -470,7 +470,7 @@
 # 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)))