Fix the posix build, rect cannot intersect w/ zero size

This commit is contained in:
2025-07-30 18:54:51 +10:00
parent 31efa0cdcb
commit a8803bb539
9 changed files with 82 additions and 80 deletions
+3 -1
View File
@@ -1521,7 +1521,9 @@ DN_API DN_Str16 DN_W32_ErrorCodeToMsg16Alloc(DN_U32 error_code)
/*DWORD nSize */ 0,
/*va_list *Arguments */ nullptr);
DN_Str16 result = {result16, size};
DN_Str16 result = {};
result.data = result16;
result.size = size;
return result;
}