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:
hyung-hwan 2019-03-14 16:14:43 +00:00
parent 2ff8ee7c27
commit 5cf583d8c4
2 changed files with 3 additions and 5 deletions

View File

@ -170,8 +170,6 @@ struct qse_fs_ent_t
typedef struct qse_fs_ent_t qse_fs_ent_t;
typedef qse_fattr_t qse_fattr_t;
#if defined(_WIN32)
typedef void* qse_fs_handle_t;
#else

View File

@ -87,7 +87,7 @@ void Path::setName (const qse_wchar_t* n) QSE_CPP_NOEXCEPT
{
#if defined(QSE_CHAR_IS_MCHAR)
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
qse_wcsxcpy (this->full_path, QSE_COUNTOF(this->full_path), n);
#endif