Merge pull request #6345 from akallabeth/win_title_fix

Fixed #6335: windows client title length
This commit is contained in:
Kobi 2020-07-06 10:27:30 +03:00 committed by GitHub
commit 1151d5784c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ static WCHAR* wf_window_get_title(rdpSettings* settings)
}
port = (settings->ServerPort != 3389);
size = wcslen(name) + 16 + wcslen(prefix);
size = strlen(name) + 16 + wcslen(prefix);
windowTitle = calloc(size, sizeof(WCHAR));
if (!windowTitle)