Changeset 449c682


Ignore:
Timestamp:
Sep 18, 2010, 3:17:27 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:
5b68c05
Parents:
72f613a
git-author:
David Benjamin <davidben@mit.edu> (07/31/10 18:12:41)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 15:17:27)
Message:
Honor the do_search argument to _owl_fmtext_curs_waddstr

It hasn't done anything since 41c9a9675faf455c3c6adfbc629faf55ddbfe10f.
This also makes the viewwin explicitly request search highlighting,
to preserve old behavior.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    r72f613a r449c682  
    299299      tmp = p[0];
    300300      p[0] = '\0';
    301       if (owl_global_is_search_active(&g)) {
     301      if (do_search && owl_global_is_search_active(&g)) {
    302302        /* Search is active, so highlight search results. */
    303303        char tmp2;
     
    364364void owl_fmtext_curs_waddstr(const owl_fmtext *f, WINDOW *w)
    365365{
    366   _owl_fmtext_curs_waddstr(f, w, owl_global_is_search_active(&g));
     366  _owl_fmtext_curs_waddstr(f, w, 1);
    367367}
    368368
  • viewwin.c

    r0b9e607 r449c682  
    8888  owl_fmtext_truncate_cols(&fm1, v->rightshift, wincols-1+v->rightshift, &fm2);
    8989
    90   owl_fmtext_curs_waddstr_without_search(&fm2, curswin);
     90  owl_fmtext_curs_waddstr(&fm2, curswin);
    9191
    9292  /* print the message at the bottom */
Note: See TracChangeset for help on using the changeset viewer.