From 61345ec1d193316e10211b85fdc2f60e96e919d3 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Tue, 30 Jun 2009 00:09:30 +0200
Subject: [PATCH] Update u16_casemap invocation.

---
 ChangeLog                   | 5 +++++
 lib/unicase/u16-tolower.c   | 4 +++-
 modules/unicase/u16-tolower | 2 ++
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 78462f2060..7592d1a2e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-06-29  Bruno Haible  <bruno@clisp.org>
 
+	* lib/unicase/u16-tolower.c (u16_tolower): Update u16_casemap
+	invocation.
+	* modules/unicase/u16-tolower (Depends-on): Add
+	unicase/empty-prefix-context, unicase/empty-suffix-context.
+
 	* lib/unicase/u8-tolower.c (u8_tolower): Update u8_casemap invocation.
 	* modules/unicase/u8-tolower (Depends-on): Add
 	unicase/empty-prefix-context, unicase/empty-suffix-context.
diff --git a/lib/unicase/u16-tolower.c b/lib/unicase/u16-tolower.c
index 640a73289d..0629cb4d29 100644
--- a/lib/unicase/u16-tolower.c
+++ b/lib/unicase/u16-tolower.c
@@ -30,7 +30,9 @@ u16_tolower (const uint16_t *s, size_t n, const char *iso639_language,
 	     uninorm_t nf,
 	     uint16_t *resultbuf, size_t *lengthp)
 {
-  return u16_casemap (s, n, iso639_language,
+  return u16_casemap (s, n,
+		      unicase_empty_prefix_context, unicase_empty_suffix_context,
+		      iso639_language,
 		      uc_tolower, offsetof (struct special_casing_rule, lower[0]),
 		      nf,
 		      resultbuf, lengthp);
diff --git a/modules/unicase/u16-tolower b/modules/unicase/u16-tolower
index cb6d2945e9..63c1c9faa6 100644
--- a/modules/unicase/u16-tolower
+++ b/modules/unicase/u16-tolower
@@ -8,6 +8,8 @@ Depends-on:
 unicase/base
 unicase/u16-casemap
 unicase/special-casing
+unicase/empty-prefix-context
+unicase/empty-suffix-context
 unicase/tolower
 
 configure.ac:
-- 
2.39.5