<p>In <a href="https://github.com/geany/geany/pull/406#discussion_r52834262">src/symbols.c</a>:</p>
<pre style='color:#555'>> @@ -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))
</pre>
<p>couldn't it simply use <code>found</code>, and drop the whole <code>swapped</code> variable?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/406/files#r52834262">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ-G-d43A5yI81tEVm1aUdMtFGW7sks5pj58EgaJpZM4DUzez.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/geany/geany/pull/406/files#r52834262"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>