Xcos MVC: fix the adaptor-local parameters getters
[scilab.git] / scilab / modules / scicos / src / cpp / model / Block.hxx
index 9fa8f80..4200edf 100644 (file)
@@ -235,12 +235,12 @@ private:
 
     update_status_t setInterfaceFunction(const std::string& fun)
     {
-        if (fun == this->interfaceFunction)
+        if (fun == interfaceFunction)
         {
             return NO_CHANGES;
         }
 
-        this->interfaceFunction = interfaceFunction;
+        interfaceFunction = fun;
         return SUCCESS;
     }