summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-03-04 13:19:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-03-04 13:19:21 +0000
commitea3a92e5224aa49d8100ac48514e8c044dee63b0 (patch)
tree3625e2372adb9a4a768385c06c837636a131934f
parente39ae52d7d5f4d889a4b946c43aa9fc4b7178993 (diff)
downloadhyphen-ea3a92e5224aa49d8100ac48514e8c044dee63b0.tar.gz
fix spelling errors
-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);