X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclstr.c;h=77a6d74bd3adbec3655eea352a6697309b070211;hb=a3e65bcd3250b107397675bc65b35b5939355025;hp=037be1c50b392196444251b60d534b0e7f8b7cdd;hpb=d0e351c12fff564d876958e860338d43716dc269;p=yaz-moved-to-github.git diff --git a/src/cclstr.c b/src/cclstr.c index 037be1c..77a6d74 100644 --- a/src/cclstr.c +++ b/src/cclstr.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** @@ -9,7 +9,7 @@ #if HAVE_CONFIG_H #include #endif -#include +#include #include #include @@ -17,7 +17,10 @@ static int ccli_toupper (int c) { - return toupper (c); + if (yaz_islower(c)) + return yaz_toupper(c); + else + return c; } int (*ccl_toupper)(int c) = NULL;