diff options
-rw-r--r-- | plugins/mate/mate_setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mate/mate_setup.c b/plugins/mate/mate_setup.c index 638745a783..4852776ae6 100644 --- a/plugins/mate/mate_setup.c +++ b/plugins/mate/mate_setup.c @@ -905,6 +905,11 @@ static gboolean config_gogkey(AVPL* avpl) { return FALSE; } + if (! g_hash_table_lookup(matecfg->gopcfgs,on) ) { + report_error("MATE: GogKey: no such Gop %s in On",on); + return FALSE; + } + rename_avpl(avpl,name); gogkeys = (LoAL*) g_hash_table_lookup(matecfg->gogs_by_gopname,on); |