From 97bc604901fc67318332ce22c305430842d5a788 Mon Sep 17 00:00:00 2001 From: falsycat Date: Tue, 31 Aug 2021 11:30:47 +0900 Subject: [PATCH] Makes abort message more urgent. --- src/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.h b/src/common.h index 8399e54..4b7dc98 100644 --- a/src/common.h +++ b/src/common.h @@ -49,7 +49,7 @@ static inline uint64_t XorShift(uint64_t x) { [[noreturn]] static inline void Abort(const std::wstring& msg) { - MessageBox(NULL, msg.c_str(), L"PROGRAM ABORTED", MB_OK); + MessageBox(NULL, msg.c_str(), L"PROGRAM ABORTED", MB_ICONWARNING); std::exit(1); } [[noreturn]]