Changeset cdc6ff1 for filter.c


Ignore:
Timestamp:
Aug 22, 2008, 12:22:37 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
da466e0
Parents:
680ada9
Message:
Implement a getfilter command to get the text of a filter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filter.c

    r0504f63 rcdc6ff1  
    214214char* owl_filter_print(owl_filter *f)
    215215{
    216   GString *out = g_string_new(owl_filter_get_name(f));
    217 
    218   g_string_append(out, ": ");
     216  GString *out = g_string_new("");
    219217
    220218  if (f->fgcolor!=OWL_COLOR_DEFAULT) {
     
    256254
    257255  ret = !strcmp(buffa, buffb);
     256  ret = ret && !strcmp(owl_filter_get_name(a),
     257                       owl_filter_get_name(b));
    258258
    259259  owl_free(buffa);
Note: See TracChangeset for help on using the changeset viewer.