A few patches from Erik Hovland, turning strncpy() into safe_strncpy() and

removing some unnecessary code.
This commit is contained in:
Rob Landley
2006-06-25 00:34:52 +00:00
parent 641c3537c0
commit 768945b762
4 changed files with 6 additions and 12 deletions

View File

@@ -1088,13 +1088,12 @@ static void Hit_Return(void)
//----- Synchronize the cursor to Dot --------------------------
static void sync_cursor(Byte * d, int *row, int *col)
{
Byte *beg_cur, *end_cur; // begin and end of "d" line
Byte *beg_cur; // begin and end of "d" line
Byte *beg_scr, *end_scr; // begin and end of screen
Byte *tp;
int cnt, ro, co;
beg_cur = begin_line(d); // first char of cur line
end_cur = end_line(d); // last char of cur line
beg_scr = end_scr = screenbegin; // first char of screen
end_scr = end_screen(); // last char of screen