From 0817f01538e69544fb4775503f5c207c8d68ed6e Mon Sep 17 00:00:00 2001 From: gjefferyes Date: Wed, 16 Sep 2015 17:20:58 -0500 Subject: [PATCH] When making a dir2dat, the "clean" routine overdoes it when translating the apostrophes, Fixed by changing order of code. --- ROMVault2/DatMaker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMVault2/DatMaker.cs b/ROMVault2/DatMaker.cs index 06c1a14..365a321 100644 --- a/ROMVault2/DatMaker.cs +++ b/ROMVault2/DatMaker.cs @@ -57,11 +57,11 @@ namespace ROMVault2 private static string clean(string s) { + s = s.Replace("&", "&"); s = s.Replace("\"", """); s = s.Replace("'", "'"); s = s.Replace("<", "<"); s = s.Replace(">", ">"); - s = s.Replace("&", "&"); return s; }