Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
337fbd17
Commit
337fbd17
authored
May 14, 2009
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xfaces.c (tty_supports_face_attributes_p): Recognize unspecified
weight when testing attributes (Bug#3282).
parent
05be46d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/xfaces.c
src/xfaces.c
+3
-2
No files found.
src/ChangeLog
View file @
337fbd17
2009-05-14 Chong Yidong <cyd@stupidchicken.com>
* xfaces.c (tty_supports_face_attributes_p): Recognize unspecified
weight when testing attributes (Bug#3282).
2009-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* gtkutil.c (xg_frame_set_char_size): Set frame pixel width/height to
...
...
src/xfaces.c
View file @
337fbd17
...
...
@@ -5175,8 +5175,9 @@ tty_supports_face_attributes_p (f, attrs, def_face)
/* Test for terminal `capabilities' (non-color character attributes). */
/* font weight (bold/dim) */
weight = FONT_WEIGHT_NAME_NUMERIC (attrs[LFACE_WEIGHT_INDEX]);
if (weight >= 0)
val = attrs[LFACE_WEIGHT_INDEX];
if (!UNSPECIFIEDP (val)
&& (weight = FONT_WEIGHT_NAME_NUMERIC (val), weight >= 0))
{
int def_weight = FONT_WEIGHT_NAME_NUMERIC (def_attrs[LFACE_WEIGHT_INDEX]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment