Merge c6247aaaf75842219d6c9b319ab700d7c82bb418 into e59a2412f9c4d316f6eab1a4ac5a77469a326d0a
This commit is contained in:
commit
aa7d02df2e
@ -448,9 +448,10 @@ gchar **build_get_regex(GeanyBuildGroup grp, GeanyFiletype *ft, guint *from)
|
||||
GeanyDocument *doc = document_get_current();
|
||||
if (doc != NULL)
|
||||
ft = doc->file_type;
|
||||
}
|
||||
if (ft == NULL)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return_nonblank_regex(GEANY_BCS_PROJ, ft->priv->projerror_regex_string);
|
||||
return_nonblank_regex(GEANY_BCS_HOME_FT, ft->priv->homeerror_regex_string);
|
||||
return_nonblank_regex(GEANY_BCS_FT, ft->error_regex_string);
|
||||
|
||||
@ -1284,7 +1284,10 @@ gboolean filetypes_parse_error_message(GeanyFiletype *ft, const gchar *message,
|
||||
doc = document_get_current();
|
||||
if (doc != NULL)
|
||||
ft = doc->file_type;
|
||||
if (ft == NULL)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
tmp = build_get_regex(build_info.grp, ft, NULL);
|
||||
if (tmp == NULL)
|
||||
return FALSE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user