this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

#1110: crash fix, problem was with the sprintf() buffer overflow

Nesbox aeac503c 7bd9f47f

+3 -3
+3 -3
src/sprite.c
··· 804 804 setCursor(tic_cursor_hand); 805 805 over = true; 806 806 807 - SHOW_TOOLTIP("%i%s PER PIXEL", mode, mode > 1 ? "BITS":"BIT"); 807 + SHOW_TOOLTIP("%i%s PER PIXEL\0", mode, mode > 1 ? "BITS":"BIT"); 808 808 809 809 if(checkMouseClick(&rect, tic_mouse_left)) 810 810 { ··· 1721 1721 1722 1722 enum {Banks = 2, SizeY = 7, SizeX = 10}; 1723 1723 static char *labels[] = {"BG", "FG"}; 1724 - static char *tooltips[] = {"TILES", "SPRITES"}; 1724 + static char *tooltips[] = {"TILES [tab]", "SPRITES [tab]"}; 1725 1725 1726 1726 for(s32 i = 0; i < Banks; i++) 1727 1727 { ··· 1735 1735 setCursor(tic_cursor_hand); 1736 1736 over = true; 1737 1737 1738 - SHOW_TOOLTIP("%s [tab]", tooltips[i]); 1738 + showTooltip(tooltips[i]); 1739 1739 1740 1740 if(checkMouseClick(&rect, tic_mouse_left)) 1741 1741 {