; Stylistic adjustments to sfnt.c
* src/sfnt.c (sfnt_map_table, sfnt_read_table): Adapt to coding style of another project using this module.
This commit is contained in:
parent
98b83bdc9f
commit
a1b24ebc83
1 changed files with 4 additions and 2 deletions
|
@ -14085,10 +14085,11 @@ sfnt_map_table (int fd, struct sfnt_offset_subtable *subtable,
|
|||
struct sfnt_table_directory *directory;
|
||||
size_t offset, page, map_offset;
|
||||
void *data;
|
||||
int i;
|
||||
|
||||
/* Find the table in the directory. */
|
||||
|
||||
for (int i = 0; ; i++)
|
||||
for (i = 0; ; i++)
|
||||
{
|
||||
if (! (i < subtable->num_tables))
|
||||
return 1;
|
||||
|
@ -14148,10 +14149,11 @@ sfnt_read_table (int fd, struct sfnt_offset_subtable *subtable,
|
|||
{
|
||||
struct sfnt_table_directory *directory;
|
||||
void *data;
|
||||
int i;
|
||||
|
||||
/* Find the table in the directory. */
|
||||
|
||||
for (int i = 0; ; i++)
|
||||
for (i = 0; ; i++)
|
||||
{
|
||||
if (! (i < subtable->num_tables))
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue