~rabbits/nasu

0e5d287c0869eae001f655033252db82e058025c — neauoire 2 years ago 7647102
Fixed issue with pad
1 files changed, 1 insertions(+), 2 deletions(-)

M nasu.c
M nasu.c => nasu.c +1 -2
@@ 267,7 267,7 @@ drawicon(Uint32 *dst, int x, int y, Uint8 *icon, int fg, int bg)
void
drawui(Uint32 *dst)
{
	int bottom = HEIGHT - 40;
	int bottom = VER * 8 + 8;
	drawicon(dst, 0, bottom, brush.color == 1 ? icons[1] : icons[0], 1, 0);
	drawicon(dst, 8, bottom, brush.color == 2 ? icons[1] : icons[0], 2, 0);
	drawicon(dst, 16, bottom, brush.color == 3 ? icons[1] : icons[0], 3, 0);


@@ 522,7 522,6 @@ main(int argc, char **argv)
		return error("Init", "Failure");
	if(argc < 2 || !opendoc(&doc, argv[1]))
		makedoc(&doc, "untitled.chr");
	redraw(pixels);
	while(1) {
		int tick = SDL_GetTicks();
		SDL_Event event;