|
|
1.1 ! root 1: /* @(#) _sethl.c: 1.1 10/15/83 (1.21 2/11/83) */ ! 2: ! 3: #include "curses.ext" ! 4: ! 5: extern int _outch(); ! 6: ! 7: _sethl () ! 8: { ! 9: #ifdef DEBUG ! 10: if(outf) fprintf(outf, "_sethl(). SP->phys_gr=%o, SP->virt_gr %o\n", SP->phys_gr, SP->virt_gr); ! 11: #endif ! 12: #ifdef VIDEO ! 13: if (SP->phys_gr == SP->virt_gr) ! 14: return; ! 15: vidputs(SP->virt_gr, _outch); ! 16: SP->phys_gr = SP->virt_gr; ! 17: /* Account for the extra space the cookie takes up */ ! 18: if (magic_cookie_glitch >= 0) ! 19: SP->phys_x += magic_cookie_glitch; ! 20: #endif VIDEO ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.