base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / text / gawk / fix-typos-corrected-in-libharu-2.4.4.patch
blob6b4a416a718c2971743e732e98e66c0e1fddf770
1 diff --git a/haru/pdf.c b/haru/pdf.c
2 index d16f573..3129427 100644
3 --- a/haru/pdf.c
4 +++ b/haru/pdf.c
5 @@ -105,7 +105,7 @@ static awk_scalar_t HPDF_CS_PATTERN_node;
6 /* LineCap */
7 static awk_scalar_t HPDF_BUTT_END_node;
8 static awk_scalar_t HPDF_ROUND_END_node;
9 -static awk_scalar_t HPDF_PROJECTING_SCUARE_END_node;
10 +static awk_scalar_t HPDF_PROJECTING_SQUARE_END_node;
12 /* _LineJoin */
13 static awk_scalar_t HPDF_MITER_JOIN_node;
14 @@ -248,7 +248,7 @@ static awk_scalar_t HPDF_ENCODER_UNKNOWN_node;
15 /* ByteType */
16 static awk_scalar_t HPDF_BYTE_TYPE_SINGLE_node;
17 static awk_scalar_t HPDF_BYTE_TYPE_LEAD_node;
18 -static awk_scalar_t HPDF_BYTE_TYPE_TRIAL_node;
19 +static awk_scalar_t HPDF_BYTE_TYPE_TRAIL_node;
20 static awk_scalar_t HPDF_BYTE_TYPE_UNKNOWN_node;
22 /* TextAlignment */
23 @@ -308,7 +308,7 @@ static const struct varinit varinit[] = {
24 ENTRY(HPDF_CS_PATTERN, 1)
25 ENTRY(HPDF_BUTT_END, 1)
26 ENTRY(HPDF_ROUND_END, 1)
27 - ENTRY(HPDF_PROJECTING_SCUARE_END, 1)
28 + ENTRY(HPDF_PROJECTING_SQUARE_END, 1)
29 ENTRY(HPDF_MITER_JOIN, 1)
30 ENTRY(HPDF_ROUND_JOIN, 1)
31 ENTRY(HPDF_BEVEL_JOIN, 1)
32 @@ -417,7 +417,7 @@ static const struct varinit varinit[] = {
33 ENTRY(HPDF_ENCODER_UNKNOWN, 1)
34 ENTRY(HPDF_BYTE_TYPE_SINGLE, 1)
35 ENTRY(HPDF_BYTE_TYPE_LEAD, 1)
36 - ENTRY(HPDF_BYTE_TYPE_TRIAL, 1)
37 + ENTRY(HPDF_BYTE_TYPE_TRAIL, 1)
38 ENTRY(HPDF_BYTE_TYPE_UNKNOWN, 1)
39 ENTRY(HPDF_TALIGN_LEFT, 1)
40 ENTRY(HPDF_TALIGN_RIGHT, 1)
41 diff --git a/haru/pdf.h b/haru/pdf.h
42 index a4ef39a..07cf168 100644
43 --- a/haru/pdf.h
44 +++ b/haru/pdf.h
45 @@ -86,7 +86,7 @@
47 #define DEFAULT_HPDF_BUTT_END HPDF_BUTT_END
48 #define DEFAULT_HPDF_ROUND_END HPDF_ROUND_END
49 -#define DEFAULT_HPDF_PROJECTING_SCUARE_END HPDF_PROJECTING_SCUARE_END
50 +#define DEFAULT_HPDF_PROJECTING_SQUARE_END HPDF_PROJECTING_SQUARE_END
52 /* _LineJoin */
53 #define DEFAULT_HPDF_MITER_JOIN HPDF_MITER_JOIN
54 @@ -229,7 +229,7 @@
55 /* ByteType */
56 #define DEFAULT_HPDF_BYTE_TYPE_SINGLE HPDF_BYTE_TYPE_SINGLE
57 #define DEFAULT_HPDF_BYTE_TYPE_LEAD HPDF_BYTE_TYPE_LEAD
58 -#define DEFAULT_HPDF_BYTE_TYPE_TRIAL HPDF_BYTE_TYPE_TRIAL
59 +#define DEFAULT_HPDF_BYTE_TYPE_TRAIL HPDF_BYTE_TYPE_TRAIL
60 #define DEFAULT_HPDF_BYTE_TYPE_UNKNOWN HPDF_BYTE_TYPE_UNKNOWN
62 /* TextAlignment */