mirror of https://github.com/rusefi/UnlockECU.git
Update MainForm.cs
Comma replace in seed sting for DTS Monaco users
This commit is contained in:
parent
8944657142
commit
a9909182af
|
@ -108,7 +108,7 @@ namespace VisualUnlockECU
|
||||||
public void TryRefreshKey()
|
public void TryRefreshKey()
|
||||||
{
|
{
|
||||||
bool validHex = true;
|
bool validHex = true;
|
||||||
string cleanedText = txtSeedValue.Text.Replace(" ", "").Replace("\r", "").Replace("\n", "").Replace("\t", "").Replace("-", "").ToUpper();
|
string cleanedText = txtSeedValue.Text.Replace(",", "").Replace(" ", "").Replace("\r", "").Replace("\n", "").Replace("\t", "").Replace("-", "").ToUpper();
|
||||||
if (cleanedText.Length % 2 != 0)
|
if (cleanedText.Length % 2 != 0)
|
||||||
{
|
{
|
||||||
validHex = false;
|
validHex = false;
|
||||||
|
|
Loading…
Reference in New Issue