Fixed get_window_properties to correctly specify the output buffer in

the server request (spotted by Marcus Meissner).
This commit is contained in:
Alexandre Julliard 2005-07-22 18:31:43 +00:00
parent 4ed08c497b
commit 3ff8239dfe
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ static property_data_t *get_properties( HWND hwnd, int *count )
SERVER_START_REQ( get_window_properties )
{
req->window = hwnd;
wine_server_add_data( req, data, total * sizeof(*data) );
wine_server_set_reply( req, data, total * sizeof(*data) );
if (!wine_server_call( req )) res = reply->total;
}
SERVER_END_REQ;