removed redundant redefintion of qse_fattr_t
changed to call qse_wcstombs() instead of qse_wcstombsall() which doesn't exist
This commit is contained in:
parent
2ff8ee7c27
commit
5cf583d8c4
@ -170,8 +170,6 @@ struct qse_fs_ent_t
|
|||||||
|
|
||||||
typedef struct qse_fs_ent_t qse_fs_ent_t;
|
typedef struct qse_fs_ent_t qse_fs_ent_t;
|
||||||
|
|
||||||
typedef qse_fattr_t qse_fattr_t;
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
typedef void* qse_fs_handle_t;
|
typedef void* qse_fs_handle_t;
|
||||||
#else
|
#else
|
||||||
@ -399,14 +397,14 @@ QSE_EXPORT int qse_fs_getattrmbs (
|
|||||||
QSE_EXPORT int qse_fs_getattrwcs (
|
QSE_EXPORT int qse_fs_getattrwcs (
|
||||||
qse_fs_t* fs,
|
qse_fs_t* fs,
|
||||||
const qse_wchar_t* path,
|
const qse_wchar_t* path,
|
||||||
qse_fattr_t* attr,
|
qse_fattr_t* attr,
|
||||||
int flags
|
int flags
|
||||||
);
|
);
|
||||||
|
|
||||||
QSE_EXPORT int qse_fs_setattrmbs (
|
QSE_EXPORT int qse_fs_setattrmbs (
|
||||||
qse_fs_t* fs,
|
qse_fs_t* fs,
|
||||||
qse_mchar_t* path,
|
qse_mchar_t* path,
|
||||||
const qse_fattr_t* attr,
|
const qse_fattr_t* attr,
|
||||||
int flags /** bitwise-ORed #qse_file_attr_flag_t enumerators */
|
int flags /** bitwise-ORed #qse_file_attr_flag_t enumerators */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ void Path::setName (const qse_wchar_t* n) QSE_CPP_NOEXCEPT
|
|||||||
{
|
{
|
||||||
#if defined(QSE_CHAR_IS_MCHAR)
|
#if defined(QSE_CHAR_IS_MCHAR)
|
||||||
qse_size_t ml = QSE_COUNTOF(this->full_path), wl;
|
qse_size_t ml = QSE_COUNTOF(this->full_path), wl;
|
||||||
qse_wcstombsall (n, &wl, this->full_path, &ml);
|
qse_wcstombs (n, &wl, this->full_path, &ml);
|
||||||
#else
|
#else
|
||||||
qse_wcsxcpy (this->full_path, QSE_COUNTOF(this->full_path), n);
|
qse_wcsxcpy (this->full_path, QSE_COUNTOF(this->full_path), n);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user