Make history variable contain whole history

darcs-hash:20061019113916-ac50b-7e24780cdd591ae23210f0da2cb80a4cf09ba5c6.gz
This commit is contained in:
axel 2006-10-19 21:39:16 +10:00
parent f6815629fc
commit d7576a409a

2
env.c
View file

@ -987,7 +987,7 @@ wchar_t *env_get( const wchar_t *key )
sb_append( &dyn_var, current );
}
for( i=add_current; i<8; i++ )
for( i=add_current;; i++ )
{
wchar_t *next = history_get( i-add_current );
if( !next )