removing [] from .rul output as per ytinasni's request

This commit is contained in:
Chris Forbes
2010-01-09 22:38:32 +13:00
parent e2b90e06ce
commit a2b0a23626
2 changed files with 105 additions and 105 deletions

View File

@@ -166,7 +166,7 @@ namespace RulesConverter
var v = kv.Value == "$Tab" ? cat.Value.Second : iniSection.GetValue(kv.Value, "");
var fmt = "\t\t{0}: {1}";
var k = kv.Key;
if (k.StartsWith("@")) { k = k.Substring(1); fmt = "\t\t{0}: [{1}]"; }
if (k.StartsWith("@")) { k = k.Substring(1); /*fmt = "\t\t{0}: [{1}]";*/ }
if (k.StartsWith("$")) { k = k.Substring(1); fmt = "\t\t{0}: \"{1}\""; }
if (!string.IsNullOrEmpty(v)) writer.WriteLine(fmt, k, v);