Mercurial > vim
comparison src/diff.c @ 4236:23ce9a61bdc2 v7.3.869
updated for version 7.3.869
Problem: bufwinnr() matches buffers in other tabs.
Solution: For bufwinnr() and ? only match buffers in the current tab.
(Alexey Radkov)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 19 Mar 2013 14:25:54 +0100 |
parents | 64427849c158 |
children | 04736b4030ec |
comparison
equal
deleted
inserted
replaced
4235:acfd8c31da18 | 4236:23ce9a61bdc2 |
---|---|
2150 ; | 2150 ; |
2151 if (eap->arg + i == p) /* digits only */ | 2151 if (eap->arg + i == p) /* digits only */ |
2152 i = atol((char *)eap->arg); | 2152 i = atol((char *)eap->arg); |
2153 else | 2153 else |
2154 { | 2154 { |
2155 i = buflist_findpat(eap->arg, p, FALSE, TRUE); | 2155 i = buflist_findpat(eap->arg, p, FALSE, TRUE, FALSE); |
2156 if (i < 0) | 2156 if (i < 0) |
2157 return; /* error message already given */ | 2157 return; /* error message already given */ |
2158 } | 2158 } |
2159 buf = buflist_findnr(i); | 2159 buf = buflist_findnr(i); |
2160 if (buf == NULL) | 2160 if (buf == NULL) |