Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /branches/1.3.x/lives-plugins/weed-plugins/frei0r.c [r1130] .. [r1131] Maximize Restore

  Switch to side-by-side view

--- a/branches/1.3.x/lives-plugins/weed-plugins/frei0r.c
+++ b/branches/1.3.x/lives-plugins/weed-plugins/frei0r.c
@@ -174,7 +174,7 @@
       break;
     case WEED_HINT_TEXT:
       string=weed_get_string_value(in_params[i],"value",&error);
-      (*f0r_set_param_value)(f0rinst,(f0r_param_t)string,pnum);
+      (*f0r_set_param_value)(f0rinst,(f0r_param_t)&string,pnum);
       weed_free(string);
       break;
     }
@@ -246,7 +246,7 @@
 
 weed_plant_t *weed_setup (weed_bootstrap_f weed_boot) {
   weed_plant_t *plugin_info;
-  if (FREI0R_MAJOR_VERSION!=1||FREI0R_MINOR_VERSION!=1) return NULL;
+  if (FREI0R_MAJOR_VERSION<1||FREI0R_MINOR_VERSION<1) return NULL;
 
   plugin_info=weed_plugin_info_init(weed_boot,num_versions,api_versions);
 
@@ -375,6 +375,10 @@
 	}
 
 	if (!strncmp(vdirent->d_name,"..",strlen(vdirent->d_name))) continue;
+
+	// broken plugins
+	if (!strcmp(dirent->d_name,"curves.so")) continue;
+	if (!strcmp(dirent->d_name,"scanline0r.so")) continue;
 
 	snprintf(vendor_name,MAX_PATH,"%s",vdirent->d_name);