Mercurial > pidgin
changeset 18199:1bb3b07a6879
Detect wide character non-support at compile time, if possible.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 19 Jun 2007 21:47:22 +0000 |
parents | 9cb31b7c2dd6 |
children | 4ea95c55e771 |
files | finch/libgnt/gntmain.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c Tue Jun 19 19:23:25 2007 +0000 +++ b/finch/libgnt/gntmain.c Tue Jun 19 21:47:22 2007 +0000 @@ -429,10 +429,14 @@ setup_io(); +#ifdef NO_WIDECHAR + ascii_only = TRUE; +#else if (locale && (strstr(locale, "UTF") || strstr(locale, "utf"))) ascii_only = FALSE; else ascii_only = TRUE; +#endif initscr(); typeahead(-1);