Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit da7045d

Browse files
committed
[[ Bug 20482 ]] Ensure fix compiles
1 parent 2565cfe commit da7045d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libgraphics/src/harfbuzztext.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ static uindex_t shape_text_and_add_to_glyph_array(const unichar_t* p_text, uinde
314314

315315
// Run of glyphs in successfully shaped clusters
316316
while (t_cur_glyph < glyph_count &&
317-
cluster_is_supported(glyph_info, t_cur_glyph, glyph_count, &t_cluster_end))
317+
cluster_is_supported(glyph_info, t_cur_glyph, glyph_count, t_cluster_end))
318318
{
319319
t_cur_glyph = t_cluster_end;
320320
}
@@ -330,22 +330,22 @@ static uindex_t shape_text_and_add_to_glyph_array(const unichar_t* p_text, uinde
330330
// If the first cluster is unsupported and we're already using the fallback
331331
// font for that cluster, assume there is no support and use a replacement.
332332
if (t_cur_glyph == 0 &&
333-
!cluster_is_supported(glyph_info, t_cur_glyph, glyph_count, &t_cluster_end)
333+
!cluster_is_supported(glyph_info, t_cur_glyph, glyph_count, t_cluster_end)
334334
&& p_use_fallback)
335335
{
336336
// Enforce a replacement glyph for the whole cluster by passing a 0
337337
// codepoint and only adding a single glyph to the run
338338
glyph_info[t_cur_glyph].codepoint = 0;
339339
MCGlyphRunMake(glyph_info, glyph_pos, x_location, t_start, t_start + 1, (SkTypeface *)p_font . fid, p_font . size, t_run);
340340
x_runs . Push(t_run);
341-
t_cur_glyph = t_cluster_end
341+
t_cur_glyph = t_cluster_end;
342342
t_start = t_cur_glyph;
343343
t_run_count++;
344344
}
345345

346346
// Deal with run of unsupported clusters for this font.
347347
while (t_cur_glyph < glyph_count &&
348-
!cluster_is_supported(glyph_info, t_cur_glyph, glyph_count, &t_cluster_end))
348+
!cluster_is_supported(glyph_info, t_cur_glyph, glyph_count, t_cluster_end))
349349
{
350350
t_cur_glyph = t_cluster_end;
351351
}

0 commit comments

Comments
 (0)