Skip to content

Commit 7309a03

Browse files
authored
wingui/pdcscrn.c: fix dpi_aware_func_t
using stdcall, as used in comparable wincon typedefs pointed out by Chuck Haatvedt
1 parent e6be02c commit 7309a03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wingui/pdcscrn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@ This suppresses cast-function-type warnings on gcc and MinGW. */
20992099
#define MAX_COLUMNS 50000
21002100

21012101
#ifndef __DMC__
2102-
typedef HRESULT (*dpi_aware_func_t)(int);
2102+
typedef HRESULT (WINAPI *dpi_aware_func_t)(int);
21032103
#endif
21042104

21052105
int PDC_scr_open(void)

0 commit comments

Comments
 (0)