Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Wed, 01 Jul 2015 16:26:45 UTC Commit: 0c26408fa145ef24d2a5b465614fb617288f922a https://github.com/geany/geany-plugins/commit/0c26408fa145ef24d2a5b465614fb6...
Log Message: ----------- projectorganizer: only show tags belonging to the project when searching for a tag
Modified Paths: -------------- projectorganizer/src/prjorg-sidebar.c
Modified: projectorganizer/src/prjorg-sidebar.c 5 lines changed, 3 insertions(+), 2 deletions(-) =================================================================== @@ -618,8 +618,9 @@ static void find_tags(const gchar *name, gboolean declaration, gboolean case_sen gchar *relpath;
relpath = get_relative_path(utf8_base_path, utf8_fname); - msgwin_msg_add(COLOR_BLACK, -1, NULL, "%s:%lu:\n\t[%s]\t %s%s%s", relpath, - tag->line, tm_tag_type_name(tag), scopestr, tag->name, tag->arglist ? tag->arglist : ""); + if (relpath) + msgwin_msg_add(COLOR_BLACK, -1, NULL, "%s:%lu:\n\t[%s]\t %s%s%s", relpath, + tag->line, tm_tag_type_name(tag), scopestr, tag->name, tag->arglist ? tag->arglist : ""); g_free(scopestr); g_free(relpath); g_free(utf8_fname);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).