Fix GLib warning when starting with a new config.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2512 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
278591115d
commit
c44e0869b7
@ -1,3 +1,9 @@
|
||||
2008-04-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* src/plugins.c:
|
||||
Fix GLib warning when starting with a new config.
|
||||
|
||||
|
||||
2008-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* src/build.c:
|
||||
|
@ -605,8 +605,7 @@ load_active_plugins()
|
||||
{
|
||||
guint i, len;
|
||||
|
||||
len = g_strv_length(active_plugins_pref);
|
||||
if (active_plugins_pref == NULL || len == 0)
|
||||
if (active_plugins_pref == NULL || (len = g_strv_length(active_plugins_pref)) == 0)
|
||||
return;
|
||||
|
||||
for (i = 0; i < len; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user