Commit 86061862 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winmm: Save data that was not yet written in mmioSetInfo.

parent 193663e8
......@@ -965,9 +965,7 @@ MMRESULT WINAPI mmioSetInfo(HMMIO hmmio, const MMIOINFO* lpmmioinfo, UINT uFlags
lpmmioinfo->pchEndWrite > wm->info.pchBuffer + wm->info.cchBuffer)
return MMSYSERR_INVALPARAM;
wm->info.pchNext = lpmmioinfo->pchNext;
wm->info.pchEndRead = lpmmioinfo->pchEndRead;
wm->info = *lpmmioinfo;
return MMSYSERR_NOERROR;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment