summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--csutil.c4
-rw-r--r--csutil.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/csutil.c b/csutil.c
index 3ea3f57..515e9ae 100644
--- a/csutil.c
+++ b/csutil.c
@@ -83,7 +83,7 @@ void enmkallsmall(char * d, const char * p, const char * encoding)
}
-/* convert null terminated string to have intial capital using encoding */
+/* convert null terminated string to have initial capital using encoding */
void enmkinitcap(char * d, const char * p, const char * encoding)
{
struct cs_info * csconv = get_current_cs(encoding);
@@ -112,7 +112,7 @@ void mkallsmall(char * p, const struct cs_info * csconv)
}
-/* convert null terminated string to have intial capital */
+/* convert null terminated string to have initial capital */
void mkinitcap(char * p, const struct cs_info * csconv)
{
if (*p != '\0') *p = csconv[((unsigned char)*p)].cupper;
diff --git a/csutil.h b/csutil.h
index e04a82b..b9a8c3a 100644
--- a/csutil.h
+++ b/csutil.h
@@ -45,7 +45,7 @@ void enmkallcap(char * d, const char * p, const char * encoding);
/* convert null terminated string to all little using encoding */
void enmkallsmall(char * d, const char * p, const char * encoding);
-/* convert null terminated string to have intial capital using encoding */
+/* convert null terminated string to have initial capital using encoding */
void enmkinitcap(char * d, const char * p, const char * encoding);
/* convert null terminated string to all caps */
@@ -54,7 +54,7 @@ void mkallcap(char * p, const struct cs_info * csconv);
/* convert null terminated string to all little */
void mkallsmall(char * p, const struct cs_info * csconv);
-/* convert null terminated string to have intial capital */
+/* convert null terminated string to have initial capital */
void mkinitcap(char * p, const struct cs_info * csconv);