Changeset 118c919 for commands.c


Ignore:
Timestamp:
Sep 21, 2010, 5:33:11 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
b120bd3
Parents:
4a41f16
git-author:
David Benjamin <davidben@mit.edu> (09/18/10 17:35:30)
git-committer:
David Benjamin <davidben@mit.edu> (09/21/10 17:33:11)
Message:
Name search argument consider_current

Adding yet another enum for a boolean value is overkill.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    rd2fd2f7 r118c919  
    25532553   
    25542554  if (argc==1 || (argc==2 && !strcmp(argv[1], "-r"))) {
    2555     owl_function_search_helper(OWL_SEARCH_CONTINUE, direction);
     2555    /* When continuing a search, don't consider the current message. */
     2556    owl_function_search_helper(false, direction);
    25562557  } else {
    25572558    owl_function_set_search(buffstart);
    2558     owl_function_search_helper(OWL_SEARCH_MATCH_CURRENT, direction);
     2559    owl_function_search_helper(true, direction);
    25592560  }
    25602561 
Note: See TracChangeset for help on using the changeset viewer.