Fix spelling: othewise ==> otherwise

This commit is contained in:
Vertexwahn 2024-01-09 19:19:44 +01:00
parent f7ed65fa4a
commit 3ed809bd5f

View File

@ -16,7 +16,7 @@ namespace detail {
inline auto is_whitespace(char c) -> bool { return c == ' ' || c == '\n'; }
// If c is a hex digit returns its numeric value, othewise -1.
// If c is a hex digit returns its numeric value, otherwise -1.
inline auto to_hex_digit(char c) -> int {
if (c >= '0' && c <= '9') return c - '0';
if (c >= 'a' && c <= 'f') return c - 'a' + 10;