From 521d8a5d24f2341d814147ad0d659e3a8704c48d Mon Sep 17 00:00:00 2001 From: Micky Date: Thu, 3 Nov 2022 18:10:27 +0100 Subject: Remove "?" from String.c_escape() --- core/string/ustring.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/string') diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index c86c8316fe..ec07654ce8 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -3899,7 +3899,6 @@ String String::c_unescape() const { escaped = escaped.replace("\\v", "\v"); escaped = escaped.replace("\\'", "\'"); escaped = escaped.replace("\\\"", "\""); - escaped = escaped.replace("\\?", "\?"); escaped = escaped.replace("\\\\", "\\"); return escaped; @@ -3916,7 +3915,6 @@ String String::c_escape() const { escaped = escaped.replace("\t", "\\t"); escaped = escaped.replace("\v", "\\v"); escaped = escaped.replace("\'", "\\'"); - escaped = escaped.replace("\?", "\\?"); escaped = escaped.replace("\"", "\\\""); return escaped; -- cgit v1.2.3