Format string

This commit is contained in:
User 2017-10-02 09:26:39 +02:00
parent 67abbddc8f
commit 3b9c2f6d27
2 changed files with 6 additions and 4 deletions

View file

@ -70,7 +70,7 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
//
[assembly: AssemblyVersion("2.55.0.115")]
[assembly: AssemblyVersion("2.55.0.124")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
@ -100,4 +100,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyName("")]
[assembly: ComVisibleAttribute(false)]
[assembly: AssemblyFileVersionAttribute("2.55.0.115")]
[assembly: AssemblyFileVersionAttribute("2.55.0.124")]

View file

@ -1156,8 +1156,10 @@ namespace LSLEditor
public String osFormatString(String format, list parameters)
{
Verbose("osFormatString(\"{0}\", {1})=\"\"", format, parameters.ToVerboseString());
return "";
string formatted = string.Format(format, parameters.ToArray());
Verbose("osFormatString(\"{0}\", {1})=\"{2}\"", format, parameters.ToVerboseString(), formatted);
return formatted;
}
public String osKey2Name(key id)