Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f907fb2e
Commit
f907fb2e
authored
Mar 02, 2008
by
Andreas Schwab
Browse files
(ftfont_pattern_entity): Fix aliasing violations.
parent
14daee73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/ChangeLog
src/ChangeLog
+2
-0
src/ftfont.c
src/ftfont.c
+3
-3
No files found.
src/ChangeLog
View file @
f907fb2e
2008-03-02 Andreas Schwab <schwab@suse.de>
* ftfont.c (ftfont_pattern_entity): Fix aliasing violations.
* coding.c (decode_coding_big5, produce_chars): Fix typos in last
change.
...
...
src/ftfont.c
View file @
f907fb2e
...
...
@@ -107,7 +107,7 @@ ftfont_pattern_entity (p, frame, registry)
Lisp_Object
entity
;
FcChar8
*
file
,
*
fontformat
;
FcCharSet
*
charset
;
c
har
*
str
;
FcC
har
8
*
str
;
int
numeric
;
double
dbl
;
...
...
@@ -127,9 +127,9 @@ ftfont_pattern_entity (p, frame, registry)
ASET
(
entity
,
FONT_FRAME_INDEX
,
frame
);
ASET
(
entity
,
FONT_OBJLIST_INDEX
,
Qnil
);
if
(
FcPatternGetString
(
p
,
FC_FOUNDRY
,
0
,
(
FcChar8
**
)
&
str
)
==
FcResultMatch
)
if
(
FcPatternGetString
(
p
,
FC_FOUNDRY
,
0
,
&
str
)
==
FcResultMatch
)
ASET
(
entity
,
FONT_FOUNDRY_INDEX
,
intern_downcase
(
str
,
strlen
(
str
)));
if
(
FcPatternGetString
(
p
,
FC_FAMILY
,
0
,
(
FcChar8
**
)
&
str
)
==
FcResultMatch
)
if
(
FcPatternGetString
(
p
,
FC_FAMILY
,
0
,
&
str
)
==
FcResultMatch
)
ASET
(
entity
,
FONT_FAMILY_INDEX
,
intern_downcase
(
str
,
strlen
(
str
)));
if
(
FcPatternGetInteger
(
p
,
FC_WEIGHT
,
0
,
&
numeric
)
==
FcResultMatch
)
{
...
...
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