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
7eb5d3d7
Commit
7eb5d3d7
authored
Dec 06, 2007
by
Kenichi Handa
Browse files
(OTF_SYM_TAG, OTF_TAG_STR): Fix argument names.
parent
4c92356f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/ftfont.c
src/ftfont.c
+8
-8
No files found.
src/ftfont.c
View file @
7eb5d3d7
...
...
@@ -329,18 +329,18 @@ struct OpenTypeSpec
unsigned
int
*
features
[
2
];
};
#define OTF_SYM_TAG(
sym, tag
) \
#define OTF_SYM_TAG(
SYM, TAG
) \
do { \
unsigned char *p = SDATA (SYMBOL_NAME (
val
)); \
tag
= (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; \
unsigned char *p = SDATA (SYMBOL_NAME (
SYM
)); \
TAG
= (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; \
} while (0)
#define OTF_TAG_STR(
tag
,
p
) \
#define OTF_TAG_STR(
TAG
,
P
) \
do { \
(
p
)[0] = (char) (
tag
>> 24); \
(
p
)[1] = (char) ((
tag
>> 16) & 0xFF); \
(
p
)[2] = (char) ((
tag
>> 8) & 0xFF); \
(
p
)[3] = (char) (
tag
& 0xFF); \
(
P
)[0] = (char) (
TAG
>> 24); \
(
P
)[1] = (char) ((
TAG
>> 16) & 0xFF); \
(
P
)[2] = (char) ((
TAG
>> 8) & 0xFF); \
(
P
)[3] = (char) (
TAG
& 0xFF); \
} while (0)
static
struct
OpenTypeSpec
*
...
...
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