- Timestamp:
- Jun 25, 2011, 3:24:36 AM (13 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 95b52d1
- Parents:
- b470451
- git-author:
- Anders Kaseorg <andersk@mit.edu> (06/22/11 03:06:13)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (06/25/11 03:24:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
history.c
rb470451 r8e515f9 46 46 47 47 /* check if the line is the same as the last */ 48 if ( owl_list_get_size(&(h->hist))>0) {49 if (!strcmp(line, owl_list_get_element(&(h->hist), 0))) return;50 }48 if (!partial && owl_list_get_size(&(h->hist)) > 0 && 49 strcmp(line, owl_list_get_element(&(h->hist), 0)) == 0) 50 return; 51 51 52 52 /* if we've reached the max history size, pop off the last element */
Note: See TracChangeset
for help on using the changeset viewer.