- Timestamp:
- Jun 25, 2011, 3:24:36 AM (13 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- b470451
- Parents:
- 83a079a
- git-author:
- Anders Kaseorg <andersk@mit.edu> (06/25/11 02:00:31)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (06/25/11 03:24:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
history.c
r83a079a rad37b39 43 43 size=owl_list_get_size(&(h->hist)); 44 44 45 /* if partial is set, remove the first entry first */46 if (h->partial) {47 g_free(owl_list_get_element(&(h->hist), 0));48 owl_list_remove_element(&(h->hist), 0);49 }50 51 45 owl_history_reset(h); 52 46 … … 75 69 { 76 70 if (!h) return; 71 72 /* if partial is set, remove the first entry first */ 73 if (h->partial) { 74 g_free(owl_list_get_element(&(h->hist), 0)); 75 owl_list_remove_element(&(h->hist), 0); 76 h->partial = 0; 77 } 78 77 79 h->cur=0; 78 h->partial=0;79 80 } 80 81
Note: See TracChangeset
for help on using the changeset viewer.