aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hkscs2001.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hkscs2001.h')
-rw-r--r--lib/hkscs2001.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hkscs2001.h b/lib/hkscs2001.h
index 66642cf..b69342c 100644
--- a/lib/hkscs2001.h
+++ b/lib/hkscs2001.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1999-2006 Free Software Foundation, Inc.
+ * Copyright (C) 1999-2006, 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
@@ -665,9 +665,9 @@ hkscs2001_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
unsigned int i = wc & 0x0f;
if (used & ((unsigned short) 1 << i)) {
unsigned short c;
- /* 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);