Merge pull request #6345 from akallabeth/win_title_fix
Fixed #6335: windows client title length
This commit is contained in:
commit
1151d5784c
@ -311,7 +311,7 @@ static WCHAR* wf_window_get_title(rdpSettings* settings)
|
|||||||
}
|
}
|
||||||
|
|
||||||
port = (settings->ServerPort != 3389);
|
port = (settings->ServerPort != 3389);
|
||||||
size = wcslen(name) + 16 + wcslen(prefix);
|
size = strlen(name) + 16 + wcslen(prefix);
|
||||||
windowTitle = calloc(size, sizeof(WCHAR));
|
windowTitle = calloc(size, sizeof(WCHAR));
|
||||||
|
|
||||||
if (!windowTitle)
|
if (!windowTitle)
|
||||||
|
Loading…
Reference in New Issue
Block a user