shithub: choc

Download patch

ref: ba1c027718cbb862a2f87a417d8bdc94a9897dcf
parent: ce8a95a5b912194ea76ebd5fb6a78c84a22747ad
author: Simon Howard <[email protected]>
date: Mon May 27 13:56:06 EDT 2013

Remove use of WINAPI macro to fix compile under MSVC.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2602

--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -149,7 +149,7 @@
 #include <windows.h>
 #include <shlobj.h>
 
-static BOOL WINAPI (*MyGetOpenFileName)(LPOPENFILENAME) = NULL;
+static BOOL (*MyGetOpenFileName)(LPOPENFILENAME) = NULL;
 static LPITEMIDLIST (*MySHBrowseForFolder)(LPBROWSEINFO) = NULL;
 static BOOL (*MySHGetPathFromIDList)(LPITEMIDLIST, LPTSTR) = NULL;