@b4n commented on this pull request.
> {
- GeanyDocument *doc = document_get_current();
+ if (!DOC_VALID(doc))
Wouldn't simply `doc == NULL` work here? Do you really get non-NULL doc
pointers that have `doc->valid == FALSE`?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1064#pullrequestreview-588000690
