diff options
author | axel <axel@liljencrantz.se> | 2006-11-11 20:54:52 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-11-11 20:54:52 +1000 |
commit | 5005c67d765817e0146275dcaa0bb0bb9f81100d (patch) | |
tree | 1e1f2d2a54da3560078ae3126c944e119013d50a /history.c | |
parent | 63732a99e97cdb5f6e88ff5703c78a0fa7970009 (diff) |
Minor cleanups, mostly of code comments
darcs-hash:20061111105452-ac50b-24ab7965f6208ecdfced738e08cdb4cb4a565458.gz
Diffstat (limited to 'history.c')
-rw-r--r-- | history.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -503,7 +503,8 @@ static void history_populate_from_mmap( history_mode_t *m ) if( (i_orig=hash_get( ¤t_mode->session_item, i ) ) ) { /* - This item comes from this session. Insert the original item at the end of the item list. + This item comes from this session. Insert the + original item at the end of the item list. */ al_push( &session_item_list, i_orig ); } @@ -608,7 +609,8 @@ static void history_save_mode( void *n, history_mode_t *m ) wchar_t *tmp_name; /* - First check if there are any new entries to save. If not, thenm we can just return + First check if there are any new entries to save. If not, then + we can just return */ for( i=0; i<al_get_count(&m->item); i++ ) { @@ -628,7 +630,8 @@ static void history_save_mode( void *n, history_mode_t *m ) signal_block(); /* - Set up on_disk variable to describe the current contents of the history file + Set up on_disk variable to describe the current contents of the + history file */ on_disk = history_create_mode( m->name ); history_load( on_disk ); |