patch-rocrail_impl_modplan_c 529 B

123456789101112131415
  1. $OpenBSD: patch-rocrail_impl_modplan_c,v 1.1 2017/05/07 23:57:16 espie Exp $
  2. Index: rocrail/impl/modplan.c
  3. --- rocrail/impl/modplan.c.orig
  4. +++ rocrail/impl/modplan.c
  5. @@ -903,7 +903,7 @@ static iONode _setModule( iOModPlan inst, iONode modul
  6. if( planmodule == NULL ) {
  7. TraceOp.trc( name, TRCLEVEL_WARNING, __LINE__, 9999,
  8. "no module found with id [%s] or [%s]", wModule.getid(module), wItem.getprev_id(module) );
  9. - return;
  10. + return NULL;
  11. }
  12. wModule.settitle( planmodule, wModule.gettitle(module) );