Reverted some changes I thought was improving the readability, but was really just breaking the correctly programmed stuff =D

This commit is contained in:
offspring131313 2011-05-16 07:44:03 +00:00
parent 003a71cb5a
commit 386b26ccbe
2 changed files with 10 additions and 2 deletions

View File

@ -338,7 +338,7 @@ namespace BizHawk.MultiClient
public void SetHeaderLine(string key, string value)
{
Header.AddHeaderLine(key, value);
Header.SetHeaderLine(key, value);
}
public string GetTime()

View File

@ -53,7 +53,10 @@ namespace BizHawk.MultiClient
/// <param name="value"></param>
public void AddHeaderLine(string key, string value)
{
HeaderParams.Add(key, value);
string temp = value;
if(!HeaderParams.TryGetValue(key, out temp)) //TODO: does a failed attempt mess with value?
HeaderParams.Add(key, value);
}
public void UpdateRerecordCount(int count)
@ -77,5 +80,10 @@ namespace BizHawk.MultiClient
HeaderParams.TryGetValue(key, out value);
return value;
}
public void SetHeaderLine(string key, string value)
{
HeaderParams[key] = value;
}
}
}