1
0
forked from aniani/vim

patch 8.2.3643: header for source file is outdated

Problem:    Header for source file is outdated.
Solution:   Make the header more accurate. (closes #9186)
This commit is contained in:
zeertzjq
2021-11-22 12:47:39 +00:00
committed by Bram Moolenaar
parent 73448a27a8
commit a3f83feb63
3 changed files with 9 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
*/
/*
* map.c: functions for maps and abbreviations
* map.c: Code for mappings and abbreviations.
*/
#include "vim.h"
@@ -659,9 +659,9 @@ do_map(
// Find an entry in the maphash[] list that matches.
// For :unmap we may loop two times: once to try to unmap an entry with
// a matching 'from' part, a second time, if the first fails, to unmap
// an entry with a matching 'to' part. This was done to allow ":ab foo
// bar" to be unmapped by typing ":unab foo", where "foo" will be
// replaced by "bar" because of the abbreviation.
// an entry with a matching 'to' part. This was done to allow
// ":ab foo bar" to be unmapped by typing ":unab foo", where "foo" will
// be replaced by "bar" because of the abbreviation.
for (round = 0; (round == 0 || maptype == 1) && round <= 1
&& !did_it && !got_int; ++round)
{