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
+2 -2
+2 -2
View File
@@ -196,10 +196,10 @@ namespace VocaluxeLib.Log
int i = 0;
return theRegex.Replace(template, delegate(Match match)
{
if (propertyValues.Length >= i)
if (i >= propertyValues.Length)
return match.Value;
return propertyValues[i++].ToString();
});
});
}
}