libragephoto: various minor corrections
This commit is contained in:
parent
f492fc9b93
commit
f73830f99e
7 changed files with 1 additions and 7 deletions
1
.github/workflows/ubuntu-c.yml
vendored
1
.github/workflows/ubuntu-c.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: Ubuntu C
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
|
|
1
.github/workflows/ubuntu-cxx.yml
vendored
1
.github/workflows/ubuntu-cxx.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: Ubuntu CXX
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
|
|
1
.github/workflows/webassembly-c.yml
vendored
1
.github/workflows/webassembly-c.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: WebAssembly C
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
|
|
1
.github/workflows/webassembly-cxx.yml
vendored
1
.github/workflows/webassembly-cxx.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: WebAssembly CXX
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
|
|
1
.github/workflows/windows-c.yml
vendored
1
.github/workflows/windows-c.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: Windows C
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
|
|
1
.github/workflows/windows-cxx.yml
vendored
1
.github/workflows/windows-cxx.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: Windows CXX
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue