forked from enlightenment/enlightenment
No need to continue looping after the id is rejected.
SVN revision: 27695
This commit is contained in:
parent
abb527f7e5
commit
26ccc7a2a4
|
@ -670,7 +670,11 @@ e_gadcon_client_config_new(E_Gadcon *gc, const char *name)
|
|||
for (l = cf_gc->clients; l; l = l->next)
|
||||
{
|
||||
cf_gcc = l->data;
|
||||
if (!strcmp(buf, cf_gcc->id)) ok = 0;
|
||||
if (!strcmp(buf, cf_gcc->id))
|
||||
{
|
||||
ok = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
id++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue