Changeset 898eb15 for commands.c


Ignore:
Timestamp:
Jul 24, 2009, 12:59:23 AM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ab225e0
Parents:
004d683
git-author:
Anders Kaseorg <andersk@mit.edu> (07/23/09 23:17:32)
git-committer:
Anders Kaseorg <andersk@mit.edu> (07/24/09 00:59:23)
Message:
Lose g->searchactive in favor of g->searchstring != NULL.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r4d86e06 r898eb15  
    25222522
    25232523  buffstart=skiptokens(buff, 1);
    2524 
    2525   owl_global_set_search_active(&g, buffstart);
    2526 
    2527   if (!*buffstart) {
    2528     owl_global_set_search_inactive(&g);
    2529   }
    2530 
     2524  owl_global_set_search_string(&g, *buffstart ? buffstart : NULL);
    25312525  owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    25322526 
Note: See TracChangeset for help on using the changeset viewer.