Changeset 12c35df for filter.c


Ignore:
Timestamp:
Oct 28, 2003, 7:56:35 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
cee1f25
Parents:
faf71b5
Message:
Fixed replies to loopback messages
Fixed smartnarrow on classes/instances with spaces
Don't allow duplicates in command history
Added the 'loggingdirection' variable
All loopback messages log to 'loopback' now
Print an error message if trying an invalid color for a filter
Fixed bug causing > not to go to end of editwin every time
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filter.c

    re3d9c77 r12c35df  
    3030  /* set the color */
    3131  if (argc>=2 && !strcmp(argv[0], "-c")) {
    32     f->color=owl_util_string_to_color(argv[1]);
     32    if (owl_util_string_to_color(argv[1])==-1) {
     33      owl_function_error("The color '%s' is not available, using default.", argv[1]);
     34    } else {
     35      f->color=owl_util_string_to_color(argv[1]);
     36    }
    3337    argc-=2;
    3438    argv+=2;
Note: See TracChangeset for help on using the changeset viewer.