MwStringPrintIntoBuffer
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
87c870a6c0
commit
35d2b4bb76
21 changed files with 233 additions and 331 deletions
|
|
@ -721,7 +721,7 @@ void MwDispatchError(int code, const char* message) {
|
|||
} else {
|
||||
#ifdef _WIN32
|
||||
char buffer[1024];
|
||||
sprintf(buffer, "Error: %s\r\nCode : %d\r\n\r\nMilsko is exiting.", message, code);
|
||||
MwPrintIntoBuffer(buffer, 1024, "Error: %s\r\nCode : %d\r\n\r\nMilsko is exiting.", message, code);
|
||||
MessageBox(NULL, buffer, "Error", MB_ICONERROR | MB_OK);
|
||||
#else
|
||||
fprintf(stderr, "Error: %s\nCode : %d\n\nMilsko is exiting.", message, code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue