date and time created 83/11/10 14:43:58 by ralph
[unix-history] / usr / src / lib / libplot / dumb / label.c
CommitLineData
878568a7
RC
1#ifndef lint
2static char sccsid[] = "@(#)label.c 4.1 (Berkeley) %G%";
3#endif
4
5#include "dumb.h"
6
7label(string)
8 char *string;
9{
10 while(*string != '\0' && currentx < COLS){
11 screenmat[currentx][currenty] = *string++;
12 currentx++;
13 }
14 if(currentx == COLS)
15 currentx = currentx-1;
16
17}