/*- * Copyright (c) 1980 The Regents of the University of California. * All rights reserved. * * %sccs.include.proprietary.c% */ #ifndef lint static char sccsid[] = "@(#)label.c 5.2 (Berkeley) 04/22/91"; #endif /* not lint */ #include "dumb.h" label(string) char *string; { while(*string != '\0' && currentx < COLS){ screenmat[currentx][currenty] = *string++; currentx++; } if(currentx == COLS) currentx = currentx-1; }