mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-12 14:55:45 -04:00
Updater: Fix missing newline on MacOS
This commit is contained in:
@ -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];
|
||||
|
Reference in New Issue
Block a user