1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

unicode_val_T instead of unsigned char in struct search

This commit is contained in:
Witold Filipczyk 2006-07-17 22:14:45 +02:00 committed by Witold Filipczyk
parent 31f2c28c06
commit 1adbce8429

View File

@ -118,13 +118,19 @@ struct link {
#define get_link_name(link) \
(!link_is_form(link) ? (link)->data.name : NULL)
#ifdef CONFIG_UTF_8
struct search {
int x, y;
signed int n; /* RAM is cheap nowadays */
unicode_val_T c;
};
#else
struct search {
int x, y;
signed int n:24; /* This structure is size-critical */
unsigned char c;
};
#endif
struct document {
OBJECT_HEAD(struct document);