rc: fix shift regresison, sorry

This commit is contained in:
cinap_lenrek 2016-05-15 23:09:23 +02:00
parent d0e510b29a
commit 45d6bca5f0

View file

@ -233,7 +233,7 @@ execshift(void)
break;
}
star = vlook("*");
for(;star->val;--n){
for(;n>0 && star->val;--n){
a = star->val->next;
free(star->val->word);
free(star->val);