Project

General

Profile

audacious-plugins-3.3.3-aosd-trigger-config.patch

brute-force work-around - Michael Schwendt, January 22, 2013 15:21

View differences:

audacious-plugins-3.3.3/src/aosd/aosd_cfg.c 2013-01-22 15:06:22.090800928 +0100
322 322
    while ( trig_active_strv[j] != NULL )
323 323
    {
324 324
      gint trig_active_val = strtol( trig_active_strv[j] , NULL , 10 );
325
      g_array_append_val( cfg->osd->trigger.active , trig_active_val );
325
      if (trig_active_val<4 && trig_active_val>=0)
326
          g_array_append_val( cfg->osd->trigger.active , trig_active_val );
326 327
      j++;
327 328
    }
328 329
    g_strfreev( trig_active_strv );