Don't add spacing for empty strings in Engine.output(), just like in Engine.debug().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6479 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
19ec4ab0eb
commit
b9cb5d4f0b
|
@ -1323,10 +1323,12 @@ bool JsEngine::runNative(ObjList& stack, const ExpOperation& oper, GenObject* co
|
|||
String str;
|
||||
for (int i = (int)oper.number(); i; i--) {
|
||||
ExpOperation* op = popValue(stack,context);
|
||||
if (str)
|
||||
str = *op + " " + str;
|
||||
else
|
||||
str = *op;
|
||||
if (*op) {
|
||||
if (str)
|
||||
str = *op + " " + str;
|
||||
else
|
||||
str = *op;
|
||||
}
|
||||
TelEngine::destruct(op);
|
||||
}
|
||||
if (str) {
|
||||
|
|
Loading…
Reference in New Issue