Add missing condition for IS_NEWLINE

This commit is contained in:
Lorenzo Carletti 2022-01-17 06:13:35 +01:00
parent c458447a34
commit 75a2d868b1
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ int custom_codes_parse_generic(int code, char* parserAddress, WINDOW* window, by
case IS_NEWLINE:
// 5E FF 06 : Load whether it's a newline or not
val_to_store = (window->text_y != 0) && (window->pixel_x == 0) ? 1 : 2;
val_to_store = (window->text_y != 0) && (window->pixel_x == 0) && (window->text_x == 0) ? 1 : 2;
store = true;
break;