Skip to content

Commit c3dd94c

Browse files
committed
Fix typo
1 parent 0a498c0 commit c3dd94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kitty/freetype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ render_glyphs_in_cells(PyObject *f, bool bold, bool italic, hb_glyph_info_t *inf
585585
} else {
586586
if (!render_bitmap(self, info[i].codepoint, &bm, cell_width, cell_height, num_cells, bold, italic, true, fg)) return false;
587587
}
588-
*was_subpixel = (bm.pixel_mode == FT_PIXEL_MODE_LCD || bm.pixel_mode = FT_PIXEL_MODE_LCD_V);
588+
*was_subpixel = (bm.pixel_mode == FT_PIXEL_MODE_LCD || bm.pixel_mode == FT_PIXEL_MODE_LCD_V);
589589
x_offset = x + (float)positions[i].x_offset / 64.0f;
590590
y = (float)positions[i].y_offset / 64.0f;
591591
if ((*was_colored || self->face->glyph->metrics.width > 0) && bm.width > 0) {

0 commit comments

Comments
 (0)