summaryrefslogtreecommitdiff
path: root/source/fud_utf8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fud_utf8.cpp')
-rw-r--r--source/fud_utf8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fud_utf8.cpp b/source/fud_utf8.cpp
index 0804531..ee8137a 100644
--- a/source/fud_utf8.cpp
+++ b/source/fud_utf8.cpp
@@ -104,7 +104,7 @@ FudStatus isAsciiPredicate(FudUtf8* character, bool* pred, Predicate&& predicate
auto maybeAscii = character->getAscii();
if (!maybeAscii.has_value()) {
- return FudStatus::InvalidInput;
+ return FudStatus::ArgumentInvalid;
}
auto asciiChar = *maybeAscii;