]>
Commit | Line | Data |
---|---|---|
e31297dc TP |
1 | --- Src/Zle/zle_misc.c 27 Feb 2003 11:32:53 -0000 1.8 |
2 | +++ Src/Zle/zle_misc.c 29 Jul 2003 09:36:12 -0000 | |
3 | @@ -372,8 +372,10 @@ | |
4 | int cc, kctstart = kct; | |
5 | Cutbuffer buf; | |
6 | ||
7 | - if (!(lastcmd & ZLE_YANK) || !kring) | |
8 | + if (!(lastcmd & ZLE_YANK) || !kring || !kctbuf) { | |
9 | + kctbuf = NULL; | |
10 | return 1; | |
11 | + } | |
12 | do { | |
13 | /* | |
14 | * This is supposed to make the yankpop loop |