Skip to content

Commit

Permalink
chafa: Fix conhost build
Browse files Browse the repository at this point in the history
From @oshaboy.
  • Loading branch information
oshaboy committed Nov 15, 2023
1 parent 6613819 commit e21aad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/chafa/conhost.c
Expand Up @@ -43,7 +43,7 @@ canvas_to_conhost (ChafaCanvas *canvas, ConhostRow **lines)
{
ConhostRow *const line = (*lines)+y;
*line=(ConhostRow) {
.attributes = g_malloc (width*sizeof(attribute)),
.attributes = g_malloc (width*sizeof(ConhostAttribute)),
.str = g_malloc (width*sizeof(gunichar2)*2),
.length = width,
.utf16_string_length = 0
Expand Down

0 comments on commit e21aad6

Please sign in to comment.