diff options
Diffstat (limited to 'src/xfaces.c')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 849ad6bbdf4..7e3ce4103d9 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -66,7 +66,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 66 | attributes (1st thru 5th) are updated from the spec. | 66 | attributes (1st thru 5th) are updated from the spec. |
| 67 | 67 | ||
| 68 | On the other hand, if one of the other font-related attributes are | 68 | On the other hand, if one of the other font-related attributes are |
| 69 | specified, the correspoinding specs in this attribute is set to nil. | 69 | specified, the corresponding specs in this attribute is set to nil. |
| 70 | 70 | ||
| 71 | 15. A face name or list of face names from which to inherit attributes. | 71 | 15. A face name or list of face names from which to inherit attributes. |
| 72 | 72 | ||
| @@ -1223,7 +1223,7 @@ face_color_gray_p (struct frame *f, const char *color_name) | |||
| 1223 | int gray_p; | 1223 | int gray_p; |
| 1224 | 1224 | ||
| 1225 | if (defined_color (f, color_name, &color, 0)) | 1225 | if (defined_color (f, color_name, &color, 0)) |
| 1226 | gray_p = (/* Any color sufficiently close to black counts as grey. */ | 1226 | gray_p = (/* Any color sufficiently close to black counts as gray. */ |
| 1227 | (color.red < 5000 && color.green < 5000 && color.blue < 5000) | 1227 | (color.red < 5000 && color.green < 5000 && color.blue < 5000) |
| 1228 | || | 1228 | || |
| 1229 | ((eabs (color.red - color.green) | 1229 | ((eabs (color.red - color.green) |