mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Forgot to double the value
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user