/* 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.
*/
if (!buf16)
return 0;
- if (capacity > 0)
+ if (capacity > 0)
{
if (0 == buf16->utf16)
buf16->utf16 = (UChar *) xmalloc(sizeof(UChar) * capacity);
buf16->utf16_len = 0;
buf16->utf16_cap = 0;
}
-
return buf16;
}