Fixes #157 - Bad error formatting string in check_error()
This commit is contained in:
parent
bc1bb0d320
commit
99dba4e58c
@ -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