@@ -1953,10 +2158,34 @@ static gboolean goto_tag(const gchar *name, gboolean definition) new_doc = document_open_file(tmtag->file->file_name, FALSE, NULL, NULL); }
if (navqueue_goto_line(old_doc, new_doc, tmtag->line))
return TRUE;
if (!swapped && navqueue_goto_line(old_doc, new_doc, tmtag->line))
couldn't it simply use `found`, and drop the whole `swapped` variable?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/406/files#r52834262
github-comments@lists.geany.org