Skip to content

Commit

Permalink
Merge pull request #41 from dther/master
Browse files Browse the repository at this point in the history
Redraw card background to prevent visual artefacts
  • Loading branch information
mpereira authored May 31, 2020
2 parents 379ef43 + 56177f4 commit 223837b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static void draw_suit(struct card *card) {

static void draw_front(struct card *card) {
wbkgd(card->frame->window, COLOR_PAIR(BLACK_ON_WHITE));
wborder(card->frame->window, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ');
draw_value(card);
draw_suit(card);
}
Expand Down

0 comments on commit 223837b

Please sign in to comment.