fix log message formatter

This commit is contained in:
Stefan Wurzinger committed 2018-10-24 01:07:40 +02:00
1 parent e0aa178294
commit e70cb2a44a
1 file changed
+1 -1
+1 -1
View File
@@ -196,7 +196,7 @@ namespace VocaluxeLib.Log
int i = 0; int i = 0;
return theRegex.Replace(template, delegate(Match match) return theRegex.Replace(template, delegate(Match match)
{ {
if (propertyValues.Length >= i) if (i >= propertyValues.Length)
return match.Value; return match.Value;
return propertyValues[i++].ToString(); return propertyValues[i++].ToString();
}); });