1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-29 01:45:34 +00:00

Revise comments in struct codepage_desc and struct conv_table.

This commit is contained in:
Kalle Olavi Niemitalo 2007-01-03 07:32:00 +02:00 committed by Kalle Olavi Niemitalo
parent 455ea77ead
commit a577455b24
2 changed files with 4 additions and 4 deletions

View File

@ -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;
};

View File

@ -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