Browse Source

Fix incorrect type for FONTENUMPROCW

Jamie Dennis 2 months ago
parent
commit
ee9b4f767b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/sys/windows/gdi32.odin

+ 1 - 1
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