diff --git a/src/Logger.c b/src/Logger.c index 6975ac74e..af2dcfecd 100644 --- a/src/Logger.c +++ b/src/Logger.c @@ -138,7 +138,7 @@ void Logger_DynamicLibWarn(const char* place, const String* path) { String_Format2(&msg, "Error %c '%s'", place, path); if (DynamicLib_DescribeError(&err)) { - String_Format1(&msg, "\n Error meaning: %s", &err); + String_Format1(&msg, ":\n %s", &err); } Logger_WarnFunc(&msg); } diff --git a/src/Platform.c b/src/Platform.c index 7cbca71c3..91273c37b 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -1397,7 +1397,7 @@ void* DynamicLib_Get2(void* lib, const char* name) { cc_bool DynamicLib_DescribeError(String* dst) { cc_result res = GetLastError(); Platform_DescribeError(res, dst); - String_Format1(dst, " (%i)", &res); + String_Format1(dst, " (error %i)", &res); return true; } #elif defined CC_BUILD_WEB