Changed iterators from iter++ to ++iter

Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
This commit is contained in:
ridiculousfish
2012-03-01 14:56:34 -08:00
parent 5d18d60e3b
commit fd4df6f9bb
11 changed files with 171 additions and 48 deletions

View File

@@ -1094,7 +1094,7 @@ env_var_t env_get_string( const wcstring &key )
for( i=add_current;; i++ )
{
// PCA This looks bad!
// PCA This looks bad! We can't do this off of the main thread.
wchar_t *next = NULL;//history_get( i-add_current );
if( !next )
{