commit eeb7312231d91d32c561fd9dd07aeed554ba998d from: rsc date: Fri Mar 26 03:07:52 2004 UTC Fortune fix commit - 478bbc757a967a814c86f1448843ff72506b3b68 commit + eeb7312231d91d32c561fd9dd07aeed554ba998d blob - 8b558ac5753b0a2d7c27d37eca860ebfcc0ed3bf blob + 28a92e803b3a5a3d5f7d9cb3328518dbe3f7a421 --- src/cmd/dict/dict.h +++ 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, /* ʼα */ blob - 4aa895fec4d0f21d530c4e58a2ec9d76a56cd616 blob + d53fc0b4aff0c9bb338258facb1529c1c2070488 --- src/cmd/fortune.c +++ 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;