summaryrefslogtreecommitdiff
path: root/cyr.c
diff options
context:
space:
mode:
Diffstat (limited to 'cyr.c')
-rw-r--r--cyr.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/cyr.c b/cyr.c
index 24921ff..d7ab191 100644
--- a/cyr.c
+++ b/cyr.c
@@ -111,6 +111,19 @@ int lookup_multi2 (wchar_t *str, int pos)
wprintf(L"Ц");
return 1;
}
+
+ if ((str[pos] == 'z') && (str[pos+1] == 'h'))
+ {
+ wprintf(L"ж");
+ return 1;
+ }
+
+ if ((str[pos] == 'Z') && (str[pos+1] == ('h'|'H')))
+ {
+ wprintf(L"Ж");
+ return 1;
+ }
+
return 0;
}