diff options
author | withmorten <morten.with@gmail.com> | 2021-02-18 22:59:40 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-02-18 22:59:40 +0100 |
commit | 4eea06e6200f0c42c9c79ff6c806a1e56222fce4 (patch) | |
tree | e159e08f13544b9ddfd4e5044d21fa07abb198af /src | |
parent | add NoMovies ini option, rename gDrawVersionText, always save ini after loading (diff) | |
download | re3-4eea06e6200f0c42c9c79ff6c806a1e56222fce4.tar re3-4eea06e6200f0c42c9c79ff6c806a1e56222fce4.tar.gz re3-4eea06e6200f0c42c9c79ff6c806a1e56222fce4.tar.bz2 re3-4eea06e6200f0c42c9c79ff6c806a1e56222fce4.tar.lz re3-4eea06e6200f0c42c9c79ff6c806a1e56222fce4.tar.xz re3-4eea06e6200f0c42c9c79ff6c806a1e56222fce4.tar.zst re3-4eea06e6200f0c42c9c79ff6c806a1e56222fce4.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/re3.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index a6e4f267..3f99b793 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -1177,7 +1177,7 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con strcat_s(re3_buff, re3_buffsize, "(Press Retry to debug the application)"); - nCode = ::MessageBoxA(nil, re3_buff, "RE3 Assertion Failed!", + nCode = ::MessageBoxA(nil, re3_buff, "REVC Assertion Failed!", MB_ABORTRETRYIGNORE|MB_ICONHAND|MB_SETFOREGROUND|MB_TASKMODAL); if (nCode == IDABORT) @@ -1198,7 +1198,7 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con abort(); #else // TODO - printf("\nRE3 ASSERT FAILED\n\tFile: %s\n\tLine: %d\n\tFunction: %s\n\tExpression: %s\n",filename,lineno,func,expr); + printf("\nREVC ASSERT FAILED\n\tFile: %s\n\tLine: %d\n\tFunction: %s\n\tExpression: %s\n",filename,lineno,func,expr); assert(false); #endif } @@ -1250,14 +1250,14 @@ void re3_usererror(const char *format, ...) vsprintf_s(re3_buff, re3_buffsize, format, va); va_end(va); - ::MessageBoxA(nil, re3_buff, "RE3 Error!", + ::MessageBoxA(nil, re3_buff, "REVC Error!", MB_OK|MB_ICONHAND|MB_SETFOREGROUND|MB_TASKMODAL); raise(SIGABRT); _exit(3); #else vsprintf(re3_buff, format, va); - printf("\nRE3 Error!\n\t%s\n",re3_buff); + printf("\nREVC Error!\n\t%s\n",re3_buff); assert(false); #endif } |