mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Revise comments in struct codepage_desc and struct conv_table.
This commit is contained in:
parent
455ea77ead
commit
a577455b24
@ -60,7 +60,7 @@ struct codepage_desc {
|
||||
|
||||
/* If some byte in the codepage corresponds to multiple Unicode
|
||||
* characters, then the preferred character is in @highhalf
|
||||
* above, and the rest are listed here in @extra. This table
|
||||
* above, and the rest are listed here in @table. This table
|
||||
* is not used for translating from the codepage to Unicode. */
|
||||
const struct table_entry *table;
|
||||
};
|
||||
|
@ -41,9 +41,9 @@ struct conv_table {
|
||||
/* If @t==0: a null-terminated string that is the
|
||||
* corresponding character in the target charset.
|
||||
* Normally, the string is statically allocated.
|
||||
* However, if the translation table is to UTF-8,
|
||||
* then the strings in elements 0x80 to 0xFF are
|
||||
* allocated with mem_alloc. */
|
||||
* However, if the conversion table is to UTF-8, then
|
||||
* the strings in elements 0x80 to 0xFF are allocated
|
||||
* with @mem_alloc and owned by the table. */
|
||||
const unsigned char *str;
|
||||
/* If @t==1: a pointer to a nested conversion table
|
||||
* (with 256 elements) that describes how to convert
|
||||
|
Loading…
x
Reference in New Issue
Block a user