[brlcad-commits] SF.net SVN: brlcad:[36332] brlcad/trunk/src/other/jove
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2009-10-29 21:03:29
|
Revision: 36332 http://brlcad.svn.sourceforge.net/brlcad/?rev=36332&view=rev Author: brlcad Date: 2009-10-29 21:03:18 +0000 (Thu, 29 Oct 2009) Log Message: ----------- and rename the matching put_line() calls. that should do it. Modified Paths: -------------- brlcad/trunk/src/other/jove/jove_delete.c brlcad/trunk/src/other/jove/jove_insert.c brlcad/trunk/src/other/jove/jove_io.c brlcad/trunk/src/other/jove/jove_misc.c Modified: brlcad/trunk/src/other/jove/jove_delete.c =================================================================== --- brlcad/trunk/src/other/jove/jove_delete.c 2009-10-29 21:01:27 UTC (rev 36331) +++ brlcad/trunk/src/other/jove/jove_delete.c 2009-10-29 21:03:18 UTC (rev 36332) @@ -174,7 +174,7 @@ genbuf[char2] = '\0'; retline->l_prev = 0; - retline->l_dline = putline(&genbuf[char1]); + retline->l_dline = put_line(&genbuf[char1]); patchup(line1, char1, line2, char2); if (line1 == line2) @@ -183,7 +183,7 @@ retline->l_next = line1->l_next; ignore(getright(line2, genbuf)); genbuf[char2] = '\0'; - line2->l_dline = putline(genbuf); /* Shorten this line */ + line2->l_dline = put_line(genbuf); /* Shorten this line */ } if (line1 != line2) { @@ -288,7 +288,7 @@ ignore(getright(lastln, buf)); ignore(getright(fl, genbuf)); linecopy(buf, strlen(buf), genbuf); - lastln->l_dline = putline(buf); + lastln->l_dline = put_line(buf); killbuf[killptr] = nl; lastln->l_next = fl->l_next; } else { @@ -296,7 +296,7 @@ ignore(getright(ol, buf)); ignore(getright(nl, genbuf)); linecopy(buf, strlen(buf), genbuf); - ol->l_dline = putline(buf); + ol->l_dline = put_line(buf); makedirty(ol); ol->l_next = nl->l_next; } Modified: brlcad/trunk/src/other/jove/jove_insert.c =================================================================== --- brlcad/trunk/src/other/jove/jove_insert.c 2009-10-29 21:01:27 UTC (rev 36331) +++ brlcad/trunk/src/other/jove/jove_insert.c 2009-10-29 21:03:18 UTC (rev 36332) @@ -104,7 +104,7 @@ newdot = curline; while (num--) { newdot = listput(curbuf, newdot); /* Put after newdot */ - newdot->l_dline = putline("") | DIRTY; + newdot->l_dline = put_line("") | DIRTY; } linebuf[curchar] = '\0'; /* Shorten this line */ SavLine(curline, linebuf); @@ -407,7 +407,7 @@ buf[tchar] = '\0'; linecopy(genbuf, atchar, &buf[fchar]); - atline->l_dline = putline(genbuf); + atline->l_dline = put_line(genbuf); makedirty(atline); fline = fline->l_next; @@ -423,7 +423,7 @@ ignore(get_line(atline->l_dline, genbuf)); atchar += tchar; linecopy(genbuf, atchar, save); - atline->l_dline = putline(genbuf); + atline->l_dline = put_line(genbuf); makedirty(atline); IFixMarks(startline, startchar, atline, atchar); bp.p_line = atline; Modified: brlcad/trunk/src/other/jove/jove_io.c =================================================================== --- brlcad/trunk/src/other/jove/jove_io.c 2009-10-29 21:01:27 UTC (rev 36331) +++ brlcad/trunk/src/other/jove/jove_io.c 2009-10-29 21:03:18 UTC (rev 36332) @@ -329,16 +329,16 @@ if ((xeof = getfline(linebuf)) == 0) linecopy(genbuf, curchar, linebuf); - curline->l_dline = putline(genbuf); + curline->l_dline = put_line(genbuf); if (!xeof) do { xeof = getfline(linebuf); nlines++; curline = listput(curbuf, curline); - curline->l_dline = putline(linebuf) | DIRTY; + curline->l_dline = put_line(linebuf) | DIRTY; } while (!xeof); linecopy(linebuf, (curchar = strlen(linebuf)), end); - curline->l_dline = putline(linebuf); + curline->l_dline = put_line(linebuf); FileMess(file, nlines, count); } @@ -595,7 +595,7 @@ lfreelist(bp->b_zero); ignore(listput(bp, (LINE *) 0)); /* First line in buffer */ - bp->b_dot->l_dline = putline("") | DIRTY; + bp->b_dot->l_dline = put_line("") | DIRTY; bp->b_char = 0; AllMarkSet(bp, bp->b_dot, 0); if (bp == curbuf) { @@ -899,5 +899,5 @@ LINE *addr; char *buf; { - addr->l_dline = putline(buf); + addr->l_dline = put_line(buf); } Modified: brlcad/trunk/src/other/jove/jove_misc.c =================================================================== --- brlcad/trunk/src/other/jove/jove_misc.c 2009-10-29 21:01:27 UTC (rev 36331) +++ brlcad/trunk/src/other/jove/jove_misc.c 2009-10-29 21:03:18 UTC (rev 36332) @@ -229,7 +229,7 @@ if (killbuf[killptr]) lfreelist(killbuf[killptr]); nl = killbuf[killptr] = nbufline(); - nl->l_dline = putline(""); + nl->l_dline = put_line(""); nl->l_next = nl->l_prev = 0; status = inorder(mp->m_line, mp->m_char, curline, curchar); @@ -1418,7 +1418,7 @@ break; if (lbuf[char1] == '\0') { char1 = 0; - line1->l_dline = putline(lbuf); + line1->l_dline = put_line(lbuf); makedirty(line1); if (lastp(line1)) break; @@ -1432,7 +1432,7 @@ lower(&lbuf[char1]); char1++; } - line1->l_dline = putline(lbuf); + line1->l_dline = put_line(lbuf); makedirty(line1); getDOT(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |