From d25fd33ad4fbcaa12c556b820a45559b787bee5a Mon Sep 17 00:00:00 2001 From: bumbread Date: Wed, 1 Feb 2023 20:33:06 +1100 Subject: [PATCH] fix up some comments and strings --- src/ciabatta.c | 4 ++-- src/string.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ciabatta.c b/src/ciabatta.c index 2303b23..14af42d 100644 --- a/src/ciabatta.c +++ b/src/ciabatta.c @@ -38,7 +38,7 @@ #include "intrin.h" -// Platform-independent stuff +// Platform-independent functionality #include "util.c" #include "math/basic.c" #include "math/division.c" @@ -63,7 +63,7 @@ #include "wchar.c" #include "wctype.c" -// Windows stuff +// Windows platform functionality #if defined(CIABATTA_WIN) #include "os_win/win.h" #include "os_win/cookie.c" diff --git a/src/string.c b/src/string.c index 179fbba..33c9ea7 100644 --- a/src/string.c +++ b/src/string.c @@ -210,7 +210,7 @@ char *strtok_r(char *restrict s1, const char *restrict s2, char **restrict ctx) char *strerror(int errnum) { switch(errnum) { case 0: return "No errors"; - case EDOM: return "Value is out of domain of the function"; + case EDOM: return "Value is outside of domain of the function"; case EILSEQ: return "Illegal byte sequence"; case ERANGE: return "Value is out of range"; }