summaryrefslogtreecommitdiff
path: root/source/fud_utf8.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-17 19:42:29 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-17 19:42:29 -0500
commit8249b28bea29e8ce17eac12776a60ec3f9e47176 (patch)
tree98318d7564b5f618cfb59e23cc6b918fcab88ee8 /source/fud_utf8.cpp
parentb32e83ece42cec5aa9dee370bcdf349d23dbc8ba (diff)
Rename InvalidInput to ArgumentInvalid.
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;