libragephoto: various minor corrections

This commit is contained in:
Syping 2025-10-07 12:30:30 +02:00
parent f492fc9b93
commit f73830f99e
7 changed files with 1 additions and 7 deletions

View file

@ -66,7 +66,7 @@ const char* nullchar = "";
/* BEGIN OF STATIC LIBRARY FUNCTIONS */
#if defined(_WIN32) && ((RAGEPHOTO_CXX_STD < 17) || (__cplusplus < 201703L))
inline std::unique_ptr<wchar_t> convertPath(const char* path)
inline std::unique_ptr<wchar_t> convertPath(const char *path)
{
int wideCharSize = MultiByteToWideChar(CP_UTF8, 0, path, -1, nullptr, 0);
if (wideCharSize <= 0)