as noted in geany/geany#4609 if you write a red message to Compiler before any Build commands have run, it throws an assertion about ```(geany:50197): Geany-CRITICAL **: 22:18:49.055: msgwin_parse_compiler_error_line: assertion 'utf8_dir != NULL' failed``` on click.
This adds a third option to msgwindow to try to guess the path from the current document, if it exists. This is similar to existing logic msgwindow.c@913 This fixes geany/geany#4609 for anyone who uses Compiler outside of Build being activated. Allowing them to utilize Build's predefined error parsing logic. Contributed under GNU GENERAL PUBLIC LICENSE Version 2 You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/4612 -- Commit Summary -- * update msgwindow to add fallback to current document if build_info is unset * Merge branch 'master' into msgwindowfix -- File Changes -- M src/msgwindow.c (24) -- Patch Links -- https://github.com/geany/geany/pull/4612.patch https://github.com/geany/geany/pull/4612.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/4612 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/[email protected]>
