From: Po Lu Date: Fri, 10 Feb 2023 02:59:22 +0000 (+0800) Subject: Fix typo X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=283f34f09d4eb0553d6326f0499d2a904e059d42;p=emacs.git Fix typo * src/sfnt.c (sfnt_read_cmap_table): Fix typo. (main): Update tests. --- diff --git a/src/sfnt.c b/src/sfnt.c index 83d230326f4..bf6ea3761ef 100644 --- a/src/sfnt.c +++ b/src/sfnt.c @@ -912,7 +912,8 @@ sfnt_read_cmap_table (int fd, struct sfnt_offset_subtable *subtable, being unsupported.) Return now. */ for (j = 0; j < i; ++j) - xfree (data[i]); + xfree (data[j]); + xfree (*data); xfree (*subtables); xfree (cmap); @@ -15533,8 +15534,8 @@ main (int argc, char **argv) data[i]->format); } -#define FANCY_PPEM 12 -#define EASY_PPEM 12 +#define FANCY_PPEM 40 +#define EASY_PPEM 40 interpreter = NULL; head = sfnt_read_head_table (fd, font);