Fortune fix

This commit is contained in:
rsc 2004-03-26 03:07:52 +00:00
parent 478bbc757a
commit eeb7312231
2 changed files with 5 additions and 1 deletions

View file

@ -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, /* ʼα */

View file

@ -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;