aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2024-05-20 09:10:57 +0800
committerPo Lu2024-05-20 09:10:57 +0800
commita1b24ebc83e3df67d2e12870b4bea941b21cebda (patch)
treeae0ec4306ed90b3676072b71e4d1dc866c7f1675 /src
parent98b83bdc9f4af7798e3314ad8df6ab78efd60f8a (diff)
downloademacs-a1b24ebc83e3df67d2e12870b4bea941b21cebda.tar.gz
emacs-a1b24ebc83e3df67d2e12870b4bea941b21cebda.zip
; Stylistic adjustments to sfnt.c
* src/sfnt.c (sfnt_map_table, sfnt_read_table): Adapt to coding style of another project using this module.
Diffstat (limited to 'src')
-rw-r--r--src/sfnt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sfnt.c b/src/sfnt.c
index 8b7392b3af2..507f2d40e6f 100644
--- a/src/sfnt.c
+++ b/src/sfnt.c
@@ -14085,10 +14085,11 @@ sfnt_map_table (int fd, struct sfnt_offset_subtable *subtable,
14085 struct sfnt_table_directory *directory; 14085 struct sfnt_table_directory *directory;
14086 size_t offset, page, map_offset; 14086 size_t offset, page, map_offset;
14087 void *data; 14087 void *data;
14088 int i;
14088 14089
14089 /* Find the table in the directory. */ 14090 /* Find the table in the directory. */
14090 14091
14091 for (int i = 0; ; i++) 14092 for (i = 0; ; i++)
14092 { 14093 {
14093 if (! (i < subtable->num_tables)) 14094 if (! (i < subtable->num_tables))
14094 return 1; 14095 return 1;
@@ -14148,10 +14149,11 @@ sfnt_read_table (int fd, struct sfnt_offset_subtable *subtable,
14148{ 14149{
14149 struct sfnt_table_directory *directory; 14150 struct sfnt_table_directory *directory;
14150 void *data; 14151 void *data;
14152 int i;
14151 14153
14152 /* Find the table in the directory. */ 14154 /* Find the table in the directory. */
14153 14155
14154 for (int i = 0; ; i++) 14156 for (i = 0; ; i++)
14155 { 14157 {
14156 if (! (i < subtable->num_tables)) 14158 if (! (i < subtable->num_tables))
14157 return NULL; 14159 return NULL;