X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=terminal.h;h=daadd708743a3bf5e41b9d26deaf6cf14055fb86;hb=6849c87061a75329ac64b4192c5d72bef3826492;hp=72c8f877a80725c9584e02667cc1908d11f2bb2b;hpb=e089f62804cae45da54212daf6ac90d4dc8b39df;p=PuTTY_svn.git 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