X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/97c511f60934408185f60245af3c606bf20ca9e6..21d2b241875c072a8700e838ae0da677a7b9d428:/terminal.h diff --git a/terminal.h b/terminal.h index 72c8f877..daadd708 100644 --- a/terminal.h +++ b/terminal.h @@ -171,6 +171,8 @@ struct terminal_tag { void *logctx; + struct unicode_data *ucsdata; + /* * We maintain a full _copy_ of a Config structure here, not * merely a pointer to it. That way, when we're passed a new @@ -181,6 +183,6 @@ struct terminal_tag { Config cfg; }; -#define in_utf(term) ((term)->utf || line_codepage==CP_UTF8) +#define in_utf(term) ((term)->utf || (term)->ucsdata->line_codepage==CP_UTF8) #endif