GUACAMOLE-249: Use correct start location of clipboard buffer (accidentally used pointer to end).
This commit is contained in:
parent
bced87cff9
commit
0c7091198f
@ -337,7 +337,7 @@ static UINT guac_rdp_cliprdr_format_data_request(CliprdrClientContext* cliprdr,
|
|||||||
writer, &output, GUAC_RDP_CLIPBOARD_MAX_LENGTH);
|
writer, &output, GUAC_RDP_CLIPBOARD_MAX_LENGTH);
|
||||||
|
|
||||||
CLIPRDR_FORMAT_DATA_RESPONSE data_response = {
|
CLIPRDR_FORMAT_DATA_RESPONSE data_response = {
|
||||||
.requestedFormatData = (BYTE*) output,
|
.requestedFormatData = (BYTE*) start,
|
||||||
.dataLen = ((BYTE*) output) - start
|
.dataLen = ((BYTE*) output) - start
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user