@xiota commented on this pull request.
In projectorganizer/src/prjorg-utils.c:
> + + if (prj_org) + { + header_patterns = get_precompiled_patterns(prj_org->header_patterns); + } + else + { + /* use default patterns when project isn't open */ + gchar ** patterns = g_strsplit(PRJORG_PATTERNS_HEADER, " ", -1); + header_patterns = get_precompiled_patterns(patterns); + g_strfreev(patterns); + } + + gchar * doc_basename = g_path_get_basename(doc->file_name); + gboolean is_header = patterns_match(header_patterns, doc_basename); + gchar * full_name = is_header ? find_header_source(doc) : NULL;
I'll make the change. Do you want the commits squashed again?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.