From 7a4b874832e3d3bacd69f0f37385704dc46075eb Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Fri, 11 Oct 2019 03:46:51 +1100 Subject: [PATCH] ShaderPatch: allow \n escape in to: rules --- source-code/source/plugins/ShaderPatch/src/dllmain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source-code/source/plugins/ShaderPatch/src/dllmain.cpp b/source-code/source/plugins/ShaderPatch/src/dllmain.cpp index ff325e6..e82d648 100644 --- a/source-code/source/plugins/ShaderPatch/src/dllmain.cpp +++ b/source-code/source/plugins/ShaderPatch/src/dllmain.cpp @@ -127,6 +127,7 @@ void LoadConfig() else if (rule.size() >= 3 && rule.rfind("to:", 0) == 0) { rule.erase(0, 3); + rule = StringReplace(rule, "\\n", "\n"); patch.dataReplace = rule; } }