I've fixed a bug in my local version and was wondering if this could be modified here too.
Here is my change:
// read a content of lfile//FileStream fos = File.OpenWrite(lfile);// bugfix: // - The above line will overwrite the contents of an existing document, but, if the new content is shorter, then a part of the old content remains!!! // - File.Create creates a new file if it doesn't exist and reuses & clears an existing one.FileStreamfos=File.Create(lfile);
Thanks again.
Kind regards,
<Johan>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
First of all, thanks for this fantastic library.
I've fixed a bug in my local version and was wondering if this could be modified here too.
Here is my change:
Thanks again.
Kind regards,
<Johan>