fix spelling errors
This commit is contained in:
parent
e39ae52d7d
commit
ea3a92e522
4
csutil.c
4
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;
|
||||
|
|
4
csutil.h
4
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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue