projects
/
m17n
/
libotf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc8eaa
)
(read_table_directory): Fix setting of tag name.
author
handa
<handa>
Fri, 23 Jun 2006 07:27:14 +0000
(07:27 +0000)
committer
handa
<handa>
Fri, 23 Jun 2006 07:27:14 +0000
(07:27 +0000)
src/otfopen.c
patch
|
blob
|
history
diff --git
a/src/otfopen.c
b/src/otfopen.c
index
bcd0d0d
..
90ca408
100644
(file)
--- a/
src/otfopen.c
+++ b/
src/otfopen.c
@@
-2599,8
+2599,8
@@
read_table_directory (OTF_Stream *stream, OTF_TableDirectory *table)
table->name[0] = tag >> 24;
table->name[1] = (tag >> 16) & 0xFF;
table->name[2] = (tag >> 8) & 0xFF;
- table->name[3] = tag >> 8;
- table->name[0] = '\0';
+ table->name[3] = tag & 0xFF;
+ table->name[4] = '\0';
READ_ULONG (stream, table->checkSum);
READ_ULONG (stream, table->offset);
READ_ULONG (stream, table->length);