Simplify checks
CI / build-and-analyze (push) Successful in 55s

This commit is contained in:
blankhex committed 2026-08-18 10:53:02 +03:00
1 parent 6d2796912b
commit dac684a8a0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ struct CgeFsDir {
static int utf8ToWchar(const char *utf8, wchar_t *out, int size) {
int len;
if (!utf8 || !out || size <= 0)
if (size <= 0)
return 0;
len = MultiByteToWideChar(CP_UTF8, 0, utf8, -1, out, size);
+1 -1
View File
@@ -5,7 +5,7 @@
static int utf8ToWchar(const char *utf8, wchar_t *out, int size) {
int len;
if (!utf8 || !out || size <= 0)
if (size <= 0)
return 0;
len = MultiByteToWideChar(CP_UTF8, 0, utf8, -1, out, size);