Commit 137e54dd authored by Jan Nieuwenhuizen's avatar Jan Nieuwenhuizen Committed by Alexandre Julliard

Need an explicit truncate command to shorten the length of a file.

parent dc4f752e
......@@ -165,6 +165,7 @@ static VOID DoSaveFile(VOID)
else
SendMessage(Globals.hEdit, EM_SETMODIFY, FALSE, 0);
SetEndOfFile(hFile);
CloseHandle(hFile);
HeapFree(GetProcessHeap(), 0, pTemp);
}
......
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