1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 00:31:07 +02:00

zsh-workers/8376

This commit is contained in:
Tanaka Akira 1999-10-22 14:18:48 +00:00
parent 1eb0a2d856
commit d78daef3dc

View file

@ -1077,7 +1077,7 @@ int hwgetword = -1;
void
ihwbegin(int offset)
{
if (stophist == 2 || strin)
if (stophist == 2)
return;
if (chwordpos%2)
chwordpos--; /* make sure we're on a word start, not end */
@ -1097,7 +1097,7 @@ ihwbegin(int offset)
void
ihwend(void)
{
if (stophist == 2 || strin)
if (stophist == 2)
return;
if (chwordpos%2 && chline) {
/* end of word reached and we've already begun a word */