Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/packages/ed/gettxt.c @ 2679:8243b6c181b4 lwtools-port
Remove bogus immediate mode specifier.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 10 Jun 2012 14:35:27 -0600 |
parents | bef1844de0dc |
children |
line wrap: on
line source
/* gettxt.c */ #include <stdio.h> #include "tools.h" #include "ed.h" char * gettxt(num) int num; { LINE *lin; static char txtbuf[MAXLINE]; lin = getptr(num); strcpy(txtbuf, lin->l_buff); strcat(txtbuf, "\n"); return(txtbuf); }