Skip to content

Commit

Permalink
Fix vivien#146: Colors key has no effect.
Browse files Browse the repository at this point in the history
The original mantainer did not add the patch, so I had to fork it and
apply the patch myself.
the patch is mentioned already in issue#146:
vivien#146
  • Loading branch information
ammarnajjar committed Jul 24, 2016
1 parent b736a27 commit c3a2f25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/block.c
Expand Up @@ -163,7 +163,8 @@ block_update_plain_text(struct block *block, char *buf)
return;

linecpy(&lines, props->short_text, sizeof(props->short_text) - 1);
linecpy(&lines, props->color, sizeof(props->color) - 1);
if (*lines)
linecpy(&lines, props->color, sizeof(props->color) - 1);
}

static void
Expand Down

0 comments on commit c3a2f25

Please sign in to comment.