Changeset 1ee5c79 for fmtext.c


Ignore:
Timestamp:
Oct 26, 2009, 12:23:09 AM (15 years ago)
Author:
Geoffrey Thomas <geofft@mit.edu>
Branches:
master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
68c572a
Parents:
1b9d3cc
git-author:
Karl Ramm <kcr@1ts.org> (10/26/09 00:20:35)
git-committer:
Geoffrey Thomas <geofft@mit.edu> (10/26/09 00:23:09)
Message:
owl_util_string_to_color returns OWL_COLOR_INVALID when it is sad

Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    r6c171f1 r1ee5c79  
    686686          /* set it as the current color */
    687687          curcolor=owl_util_string_to_color(buff);
    688           if (curcolor==-1) curcolor=OWL_COLOR_DEFAULT;
     688          if (curcolor == OWL_COLOR_INVALID)
     689              curcolor = OWL_COLOR_DEFAULT;
    689690          owl_free(buff);
    690691          txtptr=tmpptr+1;
Note: See TracChangeset for help on using the changeset viewer.