aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gb12345ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gb12345ext.h')
-rw-r--r--lib/gb12345ext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gb12345ext.h b/lib/gb12345ext.h
index b461ec8..c73b178 100644
--- a/lib/gb12345ext.h
+++ b/lib/gb12345ext.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1999-2001 Free Software Foundation, Inc.
+ * Copyright (C) 1999-2001, 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
@@ -1778,9 +1778,9 @@ gb12345ext_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);