Fortune fix
This commit is contained in:
parent
478bbc757a
commit
eeb7312231
2 changed files with 5 additions and 1 deletions
|
|
@ -5,6 +5,8 @@ enum { NONE=0xe800, /* Emit nothing */
|
||||||
SPCS, /* Start of special character name */
|
SPCS, /* Start of special character name */
|
||||||
PAR, /* Newline, indent */
|
PAR, /* Newline, indent */
|
||||||
LIGS, /* Start of ligature codes */
|
LIGS, /* Start of ligature codes */
|
||||||
|
|
||||||
|
/* need to keep in sync with utils.c:/ligtab */
|
||||||
LACU=LIGS, /* Acute (´) ligatures */
|
LACU=LIGS, /* Acute (´) ligatures */
|
||||||
LGRV, /* Grave (ˋ) ligatures */
|
LGRV, /* Grave (ˋ) ligatures */
|
||||||
LUML, /* Umlaut (¨) ligatures */
|
LUML, /* Umlaut (¨) ligatures */
|
||||||
|
|
@ -23,6 +25,8 @@ enum { NONE=0xe800, /* Emit nothing */
|
||||||
LLEN, /* Lenis (ʼ) ligatures */
|
LLEN, /* Lenis (ʼ) ligatures */
|
||||||
LBRB, /* Breve below (̮) ligatures */
|
LBRB, /* Breve below (̮) ligatures */
|
||||||
LIGE, /* End of ligature codes */
|
LIGE, /* End of ligature codes */
|
||||||
|
|
||||||
|
/* need to keep in sync with utils.c:/multitab */
|
||||||
MULTI, /* Start of multi-rune codes */
|
MULTI, /* Start of multi-rune codes */
|
||||||
MAAS=MULTI, /* ʽα */
|
MAAS=MULTI, /* ʽα */
|
||||||
MALN, /* ʼα */
|
MALN, /* ʼα */
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ main(int argc, char *argv[])
|
||||||
Biobuf *f, g;
|
Biobuf *f, g;
|
||||||
|
|
||||||
index = unsharp(index);
|
index = unsharp(index);
|
||||||
fortunes = unsharp(index);
|
fortunes = unsharp(fortunes);
|
||||||
|
|
||||||
newindex = 0;
|
newindex = 0;
|
||||||
oldindex = 0;
|
oldindex = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue