Changeset 2ec737f 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:
a728387
Parents:
09ceee3
git-author:
David Benjamin <davidben@mit.edu> (08/15/10 19:28:29)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
Message:
Add owl_function_set_search

Instead of allowing OWL_DIRECTION_NONE in owl_function_search_start,
make the setsearch command just call a more approriately named function.

Also, move the mainwin redisplay into owl_global_set_search_re.
Although, really it should just emit a signal.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r09ceee3 r2ec737f  
    25512551
    25522552  buffstart=skiptokens(buff, 1);
    2553   owl_function_search_start(*buffstart ? buffstart : NULL, OWL_DIRECTION_NONE);
     2553  owl_function_set_search(*buffstart ? buffstart : NULL);
    25542554 
    25552555  return(NULL);
Note: See TracChangeset for help on using the changeset viewer.