From cab787072617b0ca6e36babfe93b52938232436e Mon Sep 17 00:00:00 2001 From: superp00t Date: Fri, 22 Nov 2024 02:47:26 -0500 Subject: [PATCH] fix(error): fix up stupid error_report::Format function mistakes --- storm/error/win/Display.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/storm/error/win/Display.cpp b/storm/error/win/Display.cpp index cfdd413..c04323a 100644 --- a/storm/error/win/Display.cpp +++ b/storm/error/win/Display.cpp @@ -43,12 +43,12 @@ class error_report { void Format() { this->printf("\n=========================================================\n"); - if (linenumber == -5) { + if (this->m_linenumber == -5) { this->printf("Exception Raised!\n\n"); this->printf(" App: %s\n", "GenericBlizzardApp"); - if (errorcode != 0x85100000) { + if (this->m_errorcode != 0x85100000) { 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(" Line: %d\n", this->m_linenumber); - if (errorcode != 0x85100000) { - this->printf(" Error Code: 0x%08X\n", errorcode); + if (this->m_errorcode != 0x85100000) { + this->printf(" Error Code: 0x%08X\n", this->m_errorcode); } // TODO output time - this->printf(" Assertion: %s\n", description); + this->printf(" Assertion: %s\n", this->m_description); } }