~smlavine/ascii-breakout

fb59ff7c4a91c985c711d6e147443a62ff38e40e — Alexey Yerin 7 months ago 40c0e67
Flush output in showMessage

This caused welcome and game over messages to not appear until pressing
a key for some reason.
1 files changed, 1 insertions(+), 0 deletions(-)

M main.c
M main.c => main.c +1 -0
@@ 639,6 639,7 @@ showMessage(char *fmt, ...)
	} // for(...)

	va_end(ap);
	fflush(stdout);
}

// Updates the level counter in the footer.