Changeset 446aa2b


Ignore:
Timestamp:
Dec 26, 2006, 1:22:35 AM (18 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
451becb
Parents:
cb769bb
git-author:
Nelson Elhage <nelhage@mit.edu> (12/26/06 01:22:28)
git-committer:
Nelson Elhage <nelhage@mit.edu> (12/26/06 01:22:35)
Message:
make owl_filter_print include the filter name and color, like the old one did
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filter.c

    rcb769bb r446aa2b  
    193193void owl_filter_print(owl_filter *f, char *out)
    194194{
    195   strcpy(out, "");
     195  strcpy(out, owl_filter_get_name(f));
     196  strcat(out, ": ");
     197
     198  if (f->color!=OWL_COLOR_DEFAULT) {
     199    strcat(out, "-c ");
     200    strcat(out, owl_util_color_to_string(f->color));
     201    strcat(out, " ");
     202  }
    196203  if(!f->root) return;
    197204  owl_filterelement_print(f->root, out);
Note: See TracChangeset for help on using the changeset viewer.