Forgot to double the value

This commit is contained in:
Matt Nadareski
2016-04-12 18:11:43 -07:00
parent 1dd36cca24
commit 61fc76f35d
3 changed files with 4 additions and 3 deletions

View File

@@ -164,13 +164,16 @@ namespace SabreTools
// Loop over the dictionary and see if there are matches
foreach (KeyValuePair<string, int> entry in tempDict)
{
logger.Log("Attempting pattern '" + entry.Key + "' on header '" + header + "'");
if (Regex.IsMatch(header, entry.Key))
{
logger.Log("Pattern match!");
type = test;
headerSize = entry.Value;
break;
}
}
Console.Read();
// If we found something, break out
if (type != HeaderType.None)