mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-17 15:01:40 +02:00
zsh-workers/8376
This commit is contained in:
parent
1eb0a2d856
commit
d78daef3dc
1 changed files with 2 additions and 2 deletions
|
@ -1077,7 +1077,7 @@ int hwgetword = -1;
|
||||||
void
|
void
|
||||||
ihwbegin(int offset)
|
ihwbegin(int offset)
|
||||||
{
|
{
|
||||||
if (stophist == 2 || strin)
|
if (stophist == 2)
|
||||||
return;
|
return;
|
||||||
if (chwordpos%2)
|
if (chwordpos%2)
|
||||||
chwordpos--; /* make sure we're on a word start, not end */
|
chwordpos--; /* make sure we're on a word start, not end */
|
||||||
|
@ -1097,7 +1097,7 @@ ihwbegin(int offset)
|
||||||
void
|
void
|
||||||
ihwend(void)
|
ihwend(void)
|
||||||
{
|
{
|
||||||
if (stophist == 2 || strin)
|
if (stophist == 2)
|
||||||
return;
|
return;
|
||||||
if (chwordpos%2 && chline) {
|
if (chwordpos%2 && chline) {
|
||||||
/* end of word reached and we've already begun a word */
|
/* end of word reached and we've already begun a word */
|
||||||
|
|
Loading…
Reference in a new issue