Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

There is an error in the source code (envvars.cpp)

(1/1)

Chun Jiu:
src\plugins\contrib\envvars\envvars.cpp

On line 194:


--- Code: ---  // Register scripting
  Manager::Get()->GetScriptingManager(); // make sure the VM is initialised
  if (SquirrelVM::GetVMPtr())
  {
    SqPlus::RegisterGlobal(&nsEnvVars::GetEnvvarSetNames,   "EnvvarGetEnvvarSetNames"  );
    SqPlus::RegisterGlobal(&nsEnvVars::GetEnvvarSetNames,   "EnvvarGetActiveSetName"   );
                                       ^^^^^^^^^^^^^^^^^
    SqPlus::RegisterGlobal(&nsEnvVars::GetEnvvarsBySetPath, "EnvVarGetEnvvarsBySetPath");
--- End code ---

I think it should be GetActiveSetName.

oBFusCATed:
Fixed in svn. Thanks for reporting.

Navigation

[0] Message Index

Go to full version