mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 06:37:00 +00:00
Need an explicit truncate command to shorten the length of a file.
This commit is contained in:
parent
dc4f752e9d
commit
137e54dd51
|
@ -165,6 +165,7 @@ static VOID DoSaveFile(VOID)
|
|||
else
|
||||
SendMessage(Globals.hEdit, EM_SETMODIFY, FALSE, 0);
|
||||
|
||||
SetEndOfFile(hFile);
|
||||
CloseHandle(hFile);
|
||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue