mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -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) \
|
#define get_link_name(link) \
|
||||||
(!link_is_form(link) ? (link)->data.name : NULL)
|
(!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 {
|
struct search {
|
||||||
int x, y;
|
int x, y;
|
||||||
signed int n:24; /* This structure is size-critical */
|
signed int n:24; /* This structure is size-critical */
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
struct document {
|
struct document {
|
||||||
OBJECT_HEAD(struct document);
|
OBJECT_HEAD(struct document);
|
||||||
|
Loading…
Reference in New Issue
Block a user