fixed typos and removed an unnecessay #include
This commit is contained in:
parent
ef1b5e1dac
commit
1278c26d08
@ -1,15 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: str_cnv.c 431 2008-10-20 11:13:55Z baconevi $
|
* $Id: str_cnv.c 432 2008-10-20 11:22:02Z baconevi $
|
||||||
*
|
*
|
||||||
* {License}
|
* {License}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ase/cmn/str.h>
|
#include <ase/cmn/str.h>
|
||||||
|
|
||||||
#ifdef HAVE_WCHAR_H
|
|
||||||
#include <wchar.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int ase_strtoi (const ase_char_t* str)
|
int ase_strtoi (const ase_char_t* str)
|
||||||
{
|
{
|
||||||
int v;
|
int v;
|
||||||
@ -128,8 +124,8 @@ ase_size_t ase_mbstowcs (
|
|||||||
ase_size_t wlen, mlen;
|
ase_size_t wlen, mlen;
|
||||||
const ase_mchar_t* mp;
|
const ase_mchar_t* mp;
|
||||||
|
|
||||||
/* get the lenght of mbs and pass it to ase_mbsntowcsn as
|
/* get the length of mbs and pass it to ase_mbsntowcsn as
|
||||||
* ase_mbtowc needs it. */
|
* ase_mbtowc called by ase_mbsntowcsn needs it. */
|
||||||
for (mp = mbs; *mp != '\0'; mp++);
|
for (mp = mbs; *mp != '\0'; mp++);
|
||||||
|
|
||||||
if (*wcslen <= 0)
|
if (*wcslen <= 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user