mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -04:00
Show slightly more user friendly decimal instead of hexadecimal error number (Thanks MasterMen)
This commit is contained in:
parent
b9ef7fbe70
commit
d403ba6659
@ -111,7 +111,7 @@ void Logger_SysWarn(cc_result res, const char* place, Logger_DescribeError descr
|
|||||||
String msg; char msgBuffer[256];
|
String msg; char msgBuffer[256];
|
||||||
String_InitArray(msg, msgBuffer);
|
String_InitArray(msg, msgBuffer);
|
||||||
|
|
||||||
String_Format2(&msg, "Error %h when %c", &res, place);
|
String_Format2(&msg, "Error %i when %c", &res, place);
|
||||||
AppendErrorDesc(&msg, res, describeErr);
|
AppendErrorDesc(&msg, res, describeErr);
|
||||||
Logger_WarnFunc(&msg);
|
Logger_WarnFunc(&msg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user