mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
warning: ctext is used only with CONFIG_UTF8.
This commit is contained in:
parent
f1173453d4
commit
2109be1587
@ -1355,10 +1355,10 @@ field_op(struct session *ses, struct document_view *doc_view,
|
|||||||
struct form_state *fs;
|
struct form_state *fs;
|
||||||
enum edit_action action_id;
|
enum edit_action action_id;
|
||||||
unsigned char *text;
|
unsigned char *text;
|
||||||
const unsigned char *ctext;
|
|
||||||
int length;
|
int length;
|
||||||
enum frame_event_status status = FRAME_EVENT_REFRESH;
|
enum frame_event_status status = FRAME_EVENT_REFRESH;
|
||||||
#ifdef CONFIG_UTF8
|
#ifdef CONFIG_UTF8
|
||||||
|
const unsigned char *ctext;
|
||||||
int utf8 = ses->tab->term->utf8;
|
int utf8 = ses->tab->term->utf8;
|
||||||
#endif /* CONFIG_UTF8 */
|
#endif /* CONFIG_UTF8 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user