Fixes #157 - Bad error formatting string in check_error()
This commit is contained in:
parent
6d61b7ca7c
commit
be506a9f7f
@ -193,7 +193,7 @@ const int exitcode_app_crash = 254;
|
||||
{ \
|
||||
const char* msg = get_error_message(err); \
|
||||
/*on_error("Error 0x%x: %s " #call, err, msg ? msg : "unknown.");*/ \
|
||||
on_error(@"Error 0x%x: %s " #call, err, msg ? [NSString stringWithUTF8String:msg] : @"unknown."); \
|
||||
on_error(@"Error 0x%x: %@ " #call, err, msg ? [NSString stringWithUTF8String:msg] : @"unknown."); \
|
||||
} \
|
||||
} while (false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user