mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
updated for version 7.2-053
This commit is contained in:
parent
6f507d6a12
commit
a40b46614a
@ -676,6 +676,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
53,
|
||||
/**/
|
||||
52,
|
||||
/**/
|
||||
|
@ -1121,8 +1121,12 @@ workshop_get_positions(
|
||||
? (char *)curbuf->b_sfname : "<None>");
|
||||
#endif
|
||||
|
||||
strcpy(ffname, (char *) curbuf->b_ffname);
|
||||
*filename = ffname; /* copy so nobody can change b_ffname */
|
||||
if (curbuf->b_ffname == NULL)
|
||||
ffname[0] = NUL;
|
||||
else
|
||||
/* copy so nobody can change b_ffname */
|
||||
strcpy(ffname, (char *) curbuf->b_ffname);
|
||||
*filename = ffname;
|
||||
*curLine = curwin->w_cursor.lnum;
|
||||
*curCol = curwin->w_cursor.col;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user