aux/mnihongo: formatting

This commit is contained in:
Jacob Moody 2025-01-03 00:41:09 +00:00
parent 3273db5a84
commit ef5a8a7337

View file

@ -190,7 +190,8 @@ struct {
} fonts[128]; } fonts[128];
static int nfonts; static int nfonts;
void memopenfont(char *name) void
memopenfont(char *name)
{ {
Biobuf *b; Biobuf *b;
int i; int i;
@ -224,7 +225,8 @@ Invalid:
Bterm(b); Bterm(b);
} }
Memsubfont* memgetfont(Rune r) Memsubfont*
memgetfont(Rune r)
{ {
int i; int i;
@ -241,7 +243,8 @@ Memsubfont* memgetfont(Rune r)
return nil; return nil;
} }
int kanji(char *s) /* very special pleading */ int
kanji(char *s) /* very special pleading */
{ /* dump as kanji char if looks like one */ { /* dump as kanji char if looks like one */
Rune r; Rune r;
char hex[500]; char hex[500];
@ -258,7 +261,8 @@ int kanji(char *s) /* very special pleading */
return 1; return 1;
} }
char *pschar(char *s, char *hex, int *wid, int *ht) char*
pschar(char *s, char *hex, int *wid, int *ht)
{ {
Point chpt, spt; Point chpt, spt;
Memimage *b; Memimage *b;
@ -296,7 +300,8 @@ char *pschar(char *s, char *hex, int *wid, int *ht)
} }
void Bgetstr(Biobuf *bp, char *s) /* get a string */ void
Bgetstr(Biobuf *bp, char *s) /* get a string */
{ {
int c; int c;
@ -310,7 +315,8 @@ void Bgetstr(Biobuf *bp, char *s) /* get a string */
*s = 0; *s = 0;
} }
void Bgetline(Biobuf *bp, char *s) /* get a line, including newline */ void
Bgetline(Biobuf *bp, char *s) /* get a line, including newline */
{ {
int c; int c;
@ -322,7 +328,8 @@ void Bgetline(Biobuf *bp, char *s) /* get a line, including newline */
*s = 0; *s = 0;
} }
void Bgetint(Biobuf *bp, int *n) /* get an integer */ void
Bgetint(Biobuf *bp, int *n) /* get an integer */
{ {
double d; double d;