Changeset 601733d for util.c


Ignore:
Timestamp:
Jul 30, 2008, 6:35:08 PM (16 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
731dd1e
Parents:
bfc127b
Message:
The color default has been -1 for a while now, so we match what curses thinks.
We shouldn't also believe that -1 means invalid color.
Adding OWL_COLOR_INVALID (-2) and using that in place of -1 when checking for invalid colors.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    ree310eb r601733d  
    498498    return(c);
    499499  }
    500   return(-1);
     500  return(OWL_COLOR_INVALID);
    501501}
    502502
Note: See TracChangeset for help on using the changeset viewer.