The variable used for setting the cursor isn't used anymore and was used uninitialized. It's simply deleted now and the correct var is used.
This was only a problem if editor_insert_text_block() was used directly, the snippet code path doesn't reach to it. You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/1561 -- Commit Summary -- * editor: fix incorrect variable reference -- File Changes -- M src/editor.c (4) -- Patch Links -- https://github.com/geany/geany/pull/1561.patch https://github.com/geany/geany/pull/1561.diff -- 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/pull/1561
