Changeset 9c1e61d4 for functions.c


Ignore:
Timestamp:
Sep 18, 2010, 5:07:40 PM (15 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
b6cf72f
Parents:
a728387
git-author:
David Benjamin <davidben@mit.edu> (08/15/10 19:40:03)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
Message:
Add OWL_SEARCH_CONTINUE and OWL_SEARCH_MATCH_CURRENT

Instead of having a confusing mode argument, define more constants.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    ra728387 r9c1e61d4  
    29042904   * OWL_DIRECTION_UPWARDS then search backwards.
    29052905   *
    2906    * If mode==0 then it will stay on the current message if it
    2907    * contains the string.
     2906   * If mode is OWL_SEARCH_MATCH_CURRENT then it will stay on the
     2907   * current message if it contains the string.
    29082908   */
    29092909
     
    29212921  }
    29222922
    2923   if (mode==0) {
     2923  if (mode == OWL_SEARCH_MATCH_CURRENT) {
    29242924    start=curmsg;
    29252925  } else if (direction==OWL_DIRECTION_DOWNWARDS) {
Note: See TracChangeset for help on using the changeset viewer.