From 9722c1e8c35e14e57f9a4f1e45806d8237df957b Mon Sep 17 00:00:00 2001 From: superp00t Date: Fri, 22 Nov 2024 02:49:19 -0500 Subject: [PATCH] fix(error): fix up stupid error_report::Display mistakes --- storm/error/win/Display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storm/error/win/Display.cpp b/storm/error/win/Display.cpp index c04323a..a545860 100644 --- a/storm/error/win/Display.cpp +++ b/storm/error/win/Display.cpp @@ -75,7 +75,7 @@ class error_report { // Output text to debugger OutputDebugString(reinterpret_cast(this->m_text.Ptr())); // Title - const char* caption = recoverable ? "Error" : "Unrecoverable error"; + const char* caption = this->m_recoverable ? "Error" : "Unrecoverable error"; // Icon/type UINT icon = this->m_recoverable ? MB_ICONWARNING : MB_ICONERROR; MessageBox(nullptr, reinterpret_cast(this->m_text.Ptr()), caption, icon);