aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-07-01 08:34:46 +0100
committerGitHub <noreply@github.com>2025-07-01 08:34:46 +0100
commitd2e02f04344de290b4a3504396c65cd461e6ce4b (patch)
treeb3b1f87aed1431b6521fcaa78c8e780f602274a1
parent0f79bafed27332ef037585aa7d8095391620563d (diff)
parentee9b4f767b27a93cce78be5c5f421b6b3e9a7dd6 (diff)
Merge pull request #5424 from jdennis9/master
Fix incorrect type for FONTENUMPROCW in Windows API
-rw-r--r--core/sys/windows/gdi32.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/windows/gdi32.odin b/core/sys/windows/gdi32.odin
index cf762bb18..141429483 100644
--- a/core/sys/windows/gdi32.odin
+++ b/core/sys/windows/gdi32.odin
@@ -350,4 +350,4 @@ NEWTEXTMETRICW :: struct {
ntmAvgWidth: UINT,
}
-FONTENUMPROCW :: #type proc(lpelf: ^ENUMLOGFONTW, lpntm: ^NEWTEXTMETRICW, FontType: DWORD, lParam: LPARAM) -> INT
+FONTENUMPROCW :: #type proc "system" (lpelf: ^ENUMLOGFONTW, lpntm: ^NEWTEXTMETRICW, FontType: DWORD, lParam: LPARAM) -> INT