summaryrefslogtreecommitdiff
path: root/src/string_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_type.h')
-rw-r--r--src/string_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string_type.h b/src/string_type.h
index 174606635..10de1e230 100644
--- a/src/string_type.h
+++ b/src/string_type.h
@@ -49,6 +49,7 @@ enum StringValidationSettings {
SVS_NONE = 0, ///< Allow nothing and replace nothing.
SVS_REPLACE_WITH_QUESTION_MARK = 1 << 0, ///< Replace the unknown/bad bits with question marks.
SVS_ALLOW_NEWLINE = 1 << 1, ///< Allow newlines.
+ SVS_ALLOW_CONTROL_CODE = 1 << 2, ///< Allow the special control codes.
};
DECLARE_ENUM_AS_BIT_SET(StringValidationSettings);