To reproduce this bug, exec several loaders in the scilab.start file, and try to use the help function
Change-Id: Id3ca2b0ff5ab2374e200328f33e460c36fe1e471
Scierror(999, _("%s: Wrong type for input argument #%d: A string expected."), "helpbrowser", 2);
return Function::Error;
}
- // Scalar String or [] allowed.
- if ( !( (in[0]->isString() == true && in[0]->getAs<String>()->isScalar() == true)
+ // Matrix of String or [] allowed.
+ if ( !( (in[0]->isString() == true)
|| (in[0]->isDouble() == true && in[0]->getAs<Double>()->isEmpty() == true)) )
{
Scierror(999, _("%s: Wrong type for input argument #%d: A string expected."), "helpbrowser", 1);