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:
parent
31f2c28c06
commit
1adbce8429
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user