# Comment this out if you don't want UTF-8 support
USE_UTF8 ?= yes
-# The OE dipthong is not a latin1 character, but it seems the zmachine
-# can handle it, and it is tested for in terpetude. Comment this out
-# if you don't want to support the OE dipthong
-HANDLE_OE_DIPTHONG ?= yes
-
# Comment this out if your machine's version of curses doesn't support color.
COLOR ?= yes
ifdef NO_STRDUP
@echo "#define NO_STRDUP" >> $@
endif
-ifdef HANDLE_OE_DIPTHONG
- @echo "#define HANDLE_OE_DIPTHONG" >> $@
-endif
ifeq ($(USE_UTF8), yes)
@echo "#define USE_UTF8" >> $@
endif
endif
ifeq ($(USE_UTF8), yes)
@echo "#define USE_UTF8" >> $@
-endif
-ifdef HANDLE_OE_DIPTHONG
- @echo "#define HANDLE_OE_DIPTHONG" >> $@
endif
@echo "#endif /* CURSES_DEFINES_H */" >> $@
return c;
/* ...and the other 2% makes up 98% of the code. :( */
-#ifdef HANDLE_OE_DIPTHONG
- if (c == 0x153)
- {
- /* oe dipthong */
- return 0xf6;
- }
- if (c == 0x152)
- {
- /* OE dipthong */
- return 0xd6;
- }
-#endif
-
#ifdef USE_UTF8
if (sel != KEY_CODE_YES && c >= ZC_LATIN1_MIN)
return c;