projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor getting subfield length to separate function.
[yaz-moved-to-github.git]
/
src
/
icu_I18N.c
diff --git
a/src/icu_I18N.c
b/src/icu_I18N.c
index
bdfe5a6
..
d3f8a4b
100644
(file)
--- a/
src/icu_I18N.c
+++ b/
src/icu_I18N.c
@@
-1,8
+1,11
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: icu_I18N.c,v 1.22 2007-12-17 11:23:16 adam Exp $
+ */
+
+/**
+ * \file icu_I18N.c
+ * \brief ICU utilities
*/
#if HAVE_CONFIG_H
*/
#if HAVE_CONFIG_H
@@
-669,7
+672,7
@@
struct icu_normalizer * icu_normalizer_create(const char *rules, char action,
normalizer->rules16->utf16_len,
UTRANS_FORWARD,
0, 0,
normalizer->rules16->utf16_len,
UTRANS_FORWARD,
0, 0,
- normalizer->parse_error, status);
+ &normalizer->parse_error, status);
break;
case 'r':
case 'R':
break;
case 'r':
case 'R':
@@
-678,7
+681,7
@@
struct icu_normalizer * icu_normalizer_create(const char *rules, char action,
normalizer->rules16->utf16_len,
UTRANS_REVERSE ,
0, 0,
normalizer->rules16->utf16_len,
UTRANS_REVERSE ,
0, 0,
- normalizer->parse_error, status);
+ &normalizer->parse_error, status);
break;
default:
*status = U_UNSUPPORTED_ERROR;
break;
default:
*status = U_UNSUPPORTED_ERROR;