replace MwPrintIntoBuffer w MwStringPrintIntoBuffer in core.c
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
b6b8f742d7
commit
2e2a97e4a8
1 changed files with 1 additions and 1 deletions
|
|
@ -721,7 +721,7 @@ void MwDispatchError(int code, const char* message) {
|
||||||
} else {
|
} else {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
MwPrintIntoBuffer(buffer, 1024, "Error: %s\r\nCode : %d\r\n\r\nMilsko is exiting.", message, code);
|
MwStringPrintIntoBuffer(buffer, 1024, "Error: %s\r\nCode : %d\r\n\r\nMilsko is exiting.", message, code);
|
||||||
MessageBox(NULL, buffer, "Error", MB_ICONERROR | MB_OK);
|
MessageBox(NULL, buffer, "Error", MB_ICONERROR | MB_OK);
|
||||||
#else
|
#else
|
||||||
fprintf(stderr, "Error: %s\nCode : %d\n\nMilsko is exiting.", message, code);
|
fprintf(stderr, "Error: %s\nCode : %d\n\nMilsko is exiting.", message, code);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue