Couldn't resist ;-)

The check here

https://github.com/geany/geany/blob/9bf5769f582cbf3d82a1faca035e7f63e8908afe/src/document.c#L356

isn't right, is it? `documents_array->len` isn't the number of currently open 
documents - all of them could be invalid (which happens after closing a 
session). It should either check the number of open tabs in the notebook or do 
`foreach_document(i) { count++; }` to get the right number.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3921#issuecomment-2212050702
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3921/[email protected]>

Reply via email to