Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
d0ba34a6
Commit
d0ba34a6
authored
15 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.2-272
parent
0af561db
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/memline.c
+10
-7
10 additions, 7 deletions
src/memline.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
12 additions
and
7 deletions
src/memline.c
+
10
−
7
View file @
d0ba34a6
...
...
@@ -864,21 +864,24 @@ ml_recover()
recoverymode
=
TRUE
;
called_from_main
=
(
curbuf
->
b_ml
.
ml_mfp
==
NULL
);
attr
=
hl_attr
(
HLF_E
);
/*
* If the file name ends in ".sw?" we use it directly.
* Otherwise a search is done to find the swap file(s).
*/
/*
* If the file name ends in ".s[uvw][a-z]" we assume this is the swap file.
* Otherwise a search is done to find the swap file(s).
*/
fname
=
curbuf
->
b_fname
;
if
(
fname
==
NULL
)
/* When there is no file name */
fname
=
(
char_u
*
)
""
;
len
=
(
int
)
STRLEN
(
fname
);
if
(
len
>=
4
&&
#if defined(VMS) || defined(RISCOS)
STRNICMP
(
fname
+
len
-
4
,
"_s
w
"
,
3
)
STRNICMP
(
fname
+
len
-
4
,
"_s"
,
2
)
#else
STRNICMP
(
fname
+
len
-
4
,
".s
w
"
,
3
)
STRNICMP
(
fname
+
len
-
4
,
".s"
,
2
)
#endif
==
0
)
==
0
&&
vim_strchr
((
char_u
*
)
"UVWuvw"
,
fname
[
len
-
2
])
!=
NULL
&&
ASCII_ISALPHA
(
fname
[
len
-
1
]))
{
directly
=
TRUE
;
fname
=
vim_strsave
(
fname
);
/* make a copy for mf_open() */
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
d0ba34a6
...
...
@@ -676,6 +676,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
272
,
/**/
271
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment