Fixed mac warning

This commit is contained in:
Armin Novak 2022-02-16 15:05:49 +01:00 committed by akallabeth
parent 4d03d7c0bf
commit c3ac5b7b89
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void mac_set_view_size(rdpContext *context, MRDPView *view);
if (settings->WindowTitle && settings->WindowTitle[0])
{
winTitle = [[NSString alloc] initWithCString:settings->WindowTitle];
winTitle = [[NSString alloc] initWithCString:settings->WindowTitle encoding:NSUTF8StringEncoding];
}
else
{