1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-09-16 20:13:24 +01:00

Fix line counter maybe?

This commit is contained in:
suchmememanyskill 2021-07-22 17:23:59 +02:00
parent 3ab95dfd64
commit 9b47a0da33
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ Variable_t* opToVar(Operator_t* op, Callback_SetVar_t *setCallback) {
}
}
else {
SCRIPT_FATAL_ERR("[FATAL] Unexpected set!");
SCRIPT_FATAL_ERR("Unexpected set!");
}
return NULL;
}

View file

@ -12,6 +12,6 @@ void printScriptError(u8 errLevel, char* message, ...) {
gfx_printf("\n\n[%s] ", (errLevel == SCRIPT_FATAL) ? "FATAL" : (errLevel == SCRIPT_PARSER_FATAL) ? "PARSE_FATAL" : "WARN");
gfx_vprintf(message, args);
if (errLevel < SCRIPT_WARN)
gfx_printf("\nError occured on or near line %d\n", scriptCurrentLine);
gfx_printf("\nError occured on or near line %d\n", (u32)scriptCurrentLine);
va_end(args);
}