mirror of https://github.com/FreeRDP/FreeRDP
Fixed mac warning
This commit is contained in:
parent
4d03d7c0bf
commit
c3ac5b7b89
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue