Fixed #6335: windows client title length

This commit is contained in:
Armin Novak 2020-07-06 09:16:55 +02:00
parent f25fbaee9c
commit dfbeeb1e16
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)