fix print \n twice

This commit is contained in:
SegFault42 2018-10-26 20:23:11 +02:00
parent ccfb1fd4d2
commit bcd26d361c

View File

@ -625,6 +625,7 @@ void consolePrintChar(int c) {
if(currentConsole->cursorX >= currentConsole->windowWidth) {
currentConsole->cursorX = 0;
if (c != '\n')
consoleNewRow();
}