mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Updater: Fix missing newline on MacOS
This commit is contained in:
parent
d9a224ef6c
commit
5f36c2948f
|
@ -175,7 +175,8 @@ void CocoaProgressCallback::AppendMessage(const std::string_view message)
|
|||
{
|
||||
@autoreleasepool
|
||||
{
|
||||
dispatch_async(dispatch_get_main_queue(), [this, nsmessage = [CocoaTools::StringViewToNSString(message) retain]]() {
|
||||
NSString* nsmessage = [[CocoaTools::StringViewToNSString(message) stringByAppendingString:@"\n"] retain];
|
||||
dispatch_async(dispatch_get_main_queue(), [this, nsmessage]() {
|
||||
@autoreleasepool
|
||||
{
|
||||
NSAttributedString* attr = [[[NSAttributedString alloc] initWithString:nsmessage] autorelease];
|
||||
|
|
Loading…
Reference in a new issue