The minimum required version is 2.65.2:
Thanks for that.
Your patch looks alright at first glance, except its compile time, not runtime. Newer Geany versions would still show the bug if run on older systems. Thats why I said test availability at runtime.