diff options
Diffstat (limited to 'mbbsd/page.c')
-rw-r--r-- | mbbsd/page.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/page.c b/mbbsd/page.c index 9583f4c9..1757412f 100644 --- a/mbbsd/page.c +++ b/mbbsd/page.c @@ -8,15 +8,13 @@ static void print_station(const char *addr[6][100], int path, int *line, int *num) { int i; - char genbuf[128]; *num = 0; move(*line,0); do{ for(i=0; i<7 && addr[path - 1][*num]!=NULL; i++){ - sprintf(genbuf, " %2d.%-6s", (*num)+1, addr[path - 1][*num]); + prints(" %2d.%-6s", (*num)+1, addr[path - 1][*num]); (*num)++; - outs(genbuf); } outs("\n"); (*line)++; |