Skip to content

Commit 2564fd5

Browse files
committed
thcrap: fix textdisp_SelectObject calling convention
1 parent beaa981 commit 2564fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thcrap/src/textdisp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ BOOL WINAPI textdisp_TextOutA(HDC hdc, int x, int y, LPCSTR lpString, int c) {
104104
return chain_TextOutU(hdc, x, y, lpString, c);
105105
}
106106

107-
HGDIOBJ textdisp_SelectObject(HDC hdc, HGDIOBJ h) {
107+
HGDIOBJ WINAPI textdisp_SelectObject(HDC hdc, HGDIOBJ h) {
108108
if (!h || h == GetStockObject(SYSTEM_FONT)) {
109109
return chain_SelectObject(hdc, hSystemFont);
110110
}

0 commit comments

Comments
 (0)