Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
CardealRusso authored Nov 1, 2024
1 parent 30552e2 commit db482f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cookieclicker/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static int run() {

fenster_drawrec(&f, x, y, button_width, button_height, hover ? HIGHLIGHT_COLOR : BUTTON_COLOR);

fenster_drawtext(&f, font, vsformat("%s\n Cost: %llu\n Owned: %llu",
fenster_drawtext(&f, font, vsformat("%s\\n Cost: %llu\\n Owned: %llu",
autoclickers[i].name, autoclickers[i].cost, autoclickers[i].owned),
x + 10, y + 10);

Expand Down

0 comments on commit db482f2

Please sign in to comment.