X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funicase%2Fu16-toupper.c;h=3b964f7e940ac6a3e25e778c0627f044f61ef5bb;hb=6dc2ffa573d23caeeb62c4ba3b9a630a1261e35d;hp=3c4fbcabea0269e0b169cbb1f2ebc92675ac410b;hpb=ed6caec49215c7759df8d48ae648e25a7819af4f;p=gnulib.git diff --git a/lib/unicase/u16-toupper.c b/lib/unicase/u16-toupper.c index 3c4fbcabe..3b964f7e9 100644 --- a/lib/unicase/u16-toupper.c +++ b/lib/unicase/u16-toupper.c @@ -1,5 +1,5 @@ /* Uppercase mapping for UTF-16 strings (locale dependent). - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2011 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This program is free software: you can redistribute it and/or modify it @@ -27,11 +27,13 @@ uint16_t * u16_toupper (const uint16_t *s, size_t n, const char *iso639_language, - uninorm_t nf, - uint16_t *resultbuf, size_t *lengthp) + uninorm_t nf, + uint16_t *resultbuf, size_t *lengthp) { - return u16_casemap (s, n, iso639_language, - uc_toupper, offsetof (struct special_casing_rule, upper[0]), - nf, - resultbuf, lengthp); + return u16_casemap (s, n, + unicase_empty_prefix_context, unicase_empty_suffix_context, + iso639_language, + uc_toupper, offsetof (struct special_casing_rule, upper[0]), + nf, + resultbuf, lengthp); }