Changeset 9c1e61d4 for commands.c


Ignore:
Timestamp:
Sep 18, 2010, 5:07:40 PM (14 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
  • commands.c

    ra728387 r9c1e61d4  
    25382538   
    25392539  if (argc==1 || (argc==2 && !strcmp(argv[1], "-r"))) {
    2540     owl_function_search_helper(1, direction);
     2540    owl_function_search_helper(OWL_SEARCH_CONTINUE, direction);
    25412541  } else {
    25422542    owl_function_set_search(buffstart);
    2543     owl_function_search_helper(0, direction);
     2543    owl_function_search_helper(OWL_SEARCH_MATCH_CURRENT, direction);
    25442544  }
    25452545 
Note: See TracChangeset for help on using the changeset viewer.