mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(error): fix up stupid error_report::Format function mistakes
This commit is contained in:
parent
2615f3c7e6
commit
cab7870726
1 changed files with 5 additions and 5 deletions
|
|
@ -43,12 +43,12 @@ class error_report {
|
||||||
void Format() {
|
void Format() {
|
||||||
this->printf("\n=========================================================\n");
|
this->printf("\n=========================================================\n");
|
||||||
|
|
||||||
if (linenumber == -5) {
|
if (this->m_linenumber == -5) {
|
||||||
this->printf("Exception Raised!\n\n");
|
this->printf("Exception Raised!\n\n");
|
||||||
|
|
||||||
this->printf(" App: %s\n", "GenericBlizzardApp");
|
this->printf(" App: %s\n", "GenericBlizzardApp");
|
||||||
|
|
||||||
if (errorcode != 0x85100000) {
|
if (this->m_errorcode != 0x85100000) {
|
||||||
this->printf(" Error Code: 0x%08X\n", this->m_errorcode);
|
this->printf(" Error Code: 0x%08X\n", this->m_errorcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -62,12 +62,12 @@ class error_report {
|
||||||
this->printf(" File: %s\n", this->m_filename);
|
this->printf(" File: %s\n", this->m_filename);
|
||||||
this->printf(" Line: %d\n", this->m_linenumber);
|
this->printf(" Line: %d\n", this->m_linenumber);
|
||||||
|
|
||||||
if (errorcode != 0x85100000) {
|
if (this->m_errorcode != 0x85100000) {
|
||||||
this->printf(" Error Code: 0x%08X\n", errorcode);
|
this->printf(" Error Code: 0x%08X\n", this->m_errorcode);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO output time
|
// TODO output time
|
||||||
this->printf(" Assertion: %s\n", description);
|
this->printf(" Assertion: %s\n", this->m_description);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue