replace MwPrintIntoBuffer w MwStringPrintIntoBuffer in core.c
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-03-31 13:30:34 -07:00
commit 2e2a97e4a8

View file

@ -721,7 +721,7 @@ void MwDispatchError(int code, const char* message) {
} else {
#ifdef _WIN32
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);
#else
fprintf(stderr, "Error: %s\nCode : %d\n\nMilsko is exiting.", message, code);