<p>In <a href="https://github.com/geany/geany/pull/406#discussion_r52834293">src/symbols.c</a>:</p>
<pre style='color:#555'>> + {
> + GPtrArray *tags;
> + TMTag *tag, *best_tag;
> +
> + g_ptr_array_sort(workspace_tags, compare_tags);
> + best_tag = find_best_goto_tag(workspace_tags);
> +
> + tags = g_ptr_array_new();
> + if (best_tag)
> + g_ptr_array_add(tags, best_tag);
> + foreach_ptr_array(tag, i, workspace_tags)
> + {
> + if (tag != best_tag)
> + g_ptr_array_add(tags, tag);
> + }
> + show_goto_popup(tags, best_tag != 0);
</pre>
<p><code>0</code> is not a pointer, should rather be <code>NULL</code></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#r52834293">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ3dleEuzOr1nrxX54y8hu_okgcvVks5pj59pgaJpZM4DUzez.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#r52834293"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>