Makes perfect sense. As for the unnecessary checks, I was fixing these in my own code, and some of the checks were also in the improved FSB that you wrote for me, I have checked if the same "problem" also occurred in xnedit. So I reported it, not trying to be smart.
code style: do not check pointer before free()
For me, it works perfectly as it is now. Thank you!
Thank you very much. Sorry for not testing the latest version from git. Actually saving files from all windows is the desired functionality. But I agree that it is a little dangerous if used carelessly, maybe it requires a warning with confirmation.
Save all?
Nice patch, Peter, I am stealing it for use in my code. One small improvement possibility: instead of static const char request_code[256] use static const char request_code[] and then on usage do request_code[min(128,number)] it is not time critical and saves a couple of bytes.
Fantastic, that was the quickest bugfix in the history! I confirm that the problem is solved.
I have used the latest xnedit On OpenSuse Linux 15.0, Firefox 68.2 while writing a mail in gmail, I select with mouse the following text (without quotes, without new line character) "Blabla blaž blaž blaž blaž blaž" then, without using copy from menu in Firefox, I simply paste the text into fresh xnedit with middle mouse button (not from paste menu in xnedit). I attach the image of the crash trace from ddd, which shows the exact position of the crash (but maybe memory is corrupted before). It may...