Changeset 3c7d007a for history.c


Ignore:
Timestamp:
Nov 2, 2003, 12:06:02 AM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5a9f6fe
Parents:
97cd00be
Message:
Really revert history dup feature
File:
1 edited

Legend:

Unmodified
Added
Removed
  • history.c

    r12c35df r3c7d007a  
    5454
    5555  /* if repeats are disallowed, check if the line is present already */
    56   for (i=0; i<size; i++) {
    57     if (!strcmp(line, owl_list_get_element(&(h->hist), i))) return;
     56  if (!h->repeats) {
     57    for (i=0; i<size; i++) {
     58      if (!strcmp(line, owl_list_get_element(&(h->hist), i))) return;
     59    }
    5860  }
    5961
Note: See TracChangeset for help on using the changeset viewer.