From cd20ab9d886c2f9bc054c82c66d69305b535651c Mon Sep 17 00:00:00 2001 From: Miepee Date: Sun, 9 Apr 2023 19:51:32 +0200 Subject: [PATCH] Clarify todo --- Atomic/ModPacker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Atomic/ModPacker.cs b/Atomic/ModPacker.cs index dd1cf58..03dc08b 100644 --- a/Atomic/ModPacker.cs +++ b/Atomic/ModPacker.cs @@ -38,7 +38,7 @@ public partial class ModPacker : Form private void CustomSaveDataButton_Click(object sender, EventArgs e) { - // TODO: is this replace necessary? + // TODO: get rid of the replace after doing the todo right below this. Currently necessary, as otherwise its trying to i.e. do a regex of "C:\Users\foo", and \U is not a valid regex escape sequence. string home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile).Replace("\\", "\\\\"); // This is \ -> \\ bool wasSuccessful = false; // TODO: instead of creating 3 different regexes, only create one regex and fill it out depending on current OS. Just leech off of the os check a bit further down for that.