Browse Source

Merge pull request #5424 from jdennis9/master

Fix incorrect type for FONTENUMPROCW in Windows API
gingerBill 2 months ago
parent
commit
d2e02f0434
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,
 	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