diff options
-rw-r--r-- | src/cmd/dict/dict.h | 4 | ||||
-rw-r--r-- | src/cmd/fortune.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/dict/dict.h b/src/cmd/dict/dict.h index 8b558ac5..28a92e80 100644 --- a/src/cmd/dict/dict.h +++ b/src/cmd/dict/dict.h @@ -5,6 +5,8 @@ enum { NONE=0xe800, /* Emit nothing */ SPCS, /* Start of special character name */ PAR, /* Newline, indent */ LIGS, /* Start of ligature codes */ + +/* need to keep in sync with utils.c:/ligtab */ LACU=LIGS, /* Acute (´) ligatures */ LGRV, /* Grave (ˋ) ligatures */ LUML, /* Umlaut (¨) ligatures */ @@ -23,6 +25,8 @@ enum { NONE=0xe800, /* Emit nothing */ LLEN, /* Lenis (ʼ) ligatures */ LBRB, /* Breve below (̮) ligatures */ LIGE, /* End of ligature codes */ + +/* need to keep in sync with utils.c:/multitab */ MULTI, /* Start of multi-rune codes */ MAAS=MULTI, /* ʽα */ MALN, /* ʼα */ diff --git a/src/cmd/fortune.c b/src/cmd/fortune.c index 4aa895fe..d53fc0b4 100644 --- a/src/cmd/fortune.c +++ b/src/cmd/fortune.c @@ -22,7 +22,7 @@ main(int argc, char *argv[]) Biobuf *f, g; index = unsharp(index); - fortunes = unsharp(index); + fortunes = unsharp(fortunes); newindex = 0; oldindex = 0; |