Fix crash opening project when Geany started with no geany.conf.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4325 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
9fd485f204
commit
24ed3cd619
@ -1,3 +1,9 @@
|
||||
2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
|
||||
|
||||
* src/build.c:
|
||||
Fix crash opening project when Geany started with no geany.conf.
|
||||
|
||||
|
||||
2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
|
||||
|
@ -2283,8 +2283,8 @@ void build_load_menu(GKeyFile *config, GeanyBuildSource src, gpointer p)
|
||||
ft->error_regex_string = g_key_file_get_string(config, "build_settings", "error_regex", NULL);
|
||||
break;
|
||||
case GEANY_BCS_PROJ:
|
||||
if (non_ft_proj == NULL)
|
||||
non_ft_proj = g_new0(GeanyBuildCommand, build_groups_count[GEANY_GBG_NON_FT]);
|
||||
if (non_ft_pref == NULL)
|
||||
non_ft_pref = g_new0(GeanyBuildCommand, build_groups_count[GEANY_GBG_NON_FT]);
|
||||
basedir = project_get_base_path();
|
||||
if (basedir == NULL)
|
||||
basedir = g_strdup("%d");
|
||||
|
Loading…
x
Reference in New Issue
Block a user