aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cns11643_inv.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cns11643_inv.h')
-rw-r--r--lib/cns11643_inv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cns11643_inv.h b/lib/cns11643_inv.h
index 3a7c379..2b8860e 100644
--- a/lib/cns11643_inv.h
+++ b/lib/cns11643_inv.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1999-2005 Free Software Foundation, Inc.
+ * Copyright (C) 1999-2005, 2012 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
@@ -15392,9 +15392,9 @@ cns11643_inv_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
unsigned short used = summary->used;
unsigned int i = wc & 0x0f;
if (used & ((unsigned short) 1 << i)) {
- /* Keep in `used' only the bits 0..i-1. */
+ /* Keep in 'used' only the bits 0..i-1. */
used &= ((unsigned short) 1 << i) - 1;
- /* Add `summary->indx' and the number of bits set in `used'. */
+ /* Add 'summary->indx' and the number of bits set in 'used'. */
used = (used & 0x5555) + ((used & 0xaaaa) >> 1);
used = (used & 0x3333) + ((used & 0xcccc) >> 2);
used = (used & 0x0f0f) + ((used & 0xf0f0) >> 4);