mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Fixed bug in CreateFileMapping when name is not NULL.
This commit is contained in:
parent
a6ac379b08
commit
74304fc31c
1 changed files with 1 additions and 1 deletions
|
@ -1191,7 +1191,7 @@ HANDLE32 WINAPI CreateFileMapping32A(
|
|||
req.protect = vprot;
|
||||
CLIENT_SendRequest( REQ_CREATE_MAPPING, -1, 2,
|
||||
&req, sizeof(req),
|
||||
name, name ? strlen(name) : 0 );
|
||||
name, name ? strlen(name) + 1 : 0 );
|
||||
if (CLIENT_WaitSimpleReply( &reply, sizeof(reply), NULL ))
|
||||
goto error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue