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,7 +625,8 @@ void consolePrintChar(int c) {
if(currentConsole->cursorX >= currentConsole->windowWidth) {
currentConsole->cursorX = 0;
consoleNewRow();
if (c != '\n')
consoleNewRow();
}
switch(c) {