geany/geany — comment on commit f31a84869d45980a7ecb27f5a4d6c3588c547eee
File: src/document.c line 2353
By codebrainz:

FWIW, that check was inspired by this: https://github.com/geany/geany/blob/bb745e8f3bb427ddd981b2ca9fa3eaca6e14a6c3/src/document.c#L2416